Convert all photon physics except bremsstrahlung (not done yet)

This commit is contained in:
Paul Romano 2019-01-04 16:27:45 -06:00
parent 6c3f35d019
commit 2e6ac03433
9 changed files with 717 additions and 872 deletions

View file

@ -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