1 #ifndef rl_DielectricData_h_INCLUDED 2 #define rl_DielectricData_h_INCLUDED 49 #include <rl_raylib/rl_Traits.h> 50 #include <rl_raylib/rl_Exception.h> 136 double bulk_density = 1.0 );
156 double bulk_density = 1.0 );
169 int alpha_gamma(
double energy,
double& alpha,
double& gamma );
237 {
return bulkdensity_; }
rl_Traits::rl_DielectricPOD lo_
lower edge of energy bin
~rl_DielectricData()
Non-virtual detructor.
void init(rl_Traits::rl_DielectricPOD const *diel, size_t num_pts, rl_Traits::EInterpMode interp_mode, double bulk_density=1.0)
Initialization function.
rl_DielectricData()
Default constructor.
double bulk_density_factor() const
Return the maximum energy covered by this dataset.
int alpha_gamma(double energy, double &alpha, double &gamma)
Evaluate the dielectric decrements, alpha and gamma, at the given energy.
rl_Traits::rl_DielectricPOD hi_
upper edge of energy bin
double energy_min() const
Return the minimum energy covered by this dataset.
A class encapsulating the dielectric data (alpha, gamma) as a function of energy.
EInterpMode
Enumeration specifying the interpolation of the optical constants.
rl_Traits::Bool is_vacuum() const
Returns True if the object is a vacuum state; False, otherwise.
A POD describing the lower and upper edge of an energy bin.
rl_Traits is a `‘traits’' class for the rl_RayLib library.
double energy_max() const
Return the maximum energy covered by this dataset.
Bool
Typedef for the Boolean type.