mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Convert all photon physics except bremsstrahlung (not done yet)
This commit is contained in:
parent
6c3f35d019
commit
2e6ac03433
9 changed files with 717 additions and 872 deletions
|
|
@ -78,6 +78,10 @@ public:
|
|||
//! \param[in] x independent variable
|
||||
//! \return Function evaluated at x
|
||||
double operator()(double x) const;
|
||||
|
||||
// Accessors
|
||||
const std::vector<double>& x() const { return x_; }
|
||||
const std::vector<double>& y() const { return y_; }
|
||||
private:
|
||||
std::size_t n_regions_ {0}; //!< number of interpolation regions
|
||||
std::vector<int> nbt_; //!< values separating interpolation regions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue