Class eos_crust_virial_v2 (o2scl)¶
-
class o2scl::eos_crust_virial_v2 : public o2scl::eos_crust_virial¶
An updated version of o2scl::eos_crust_virial with a better fit for the virial coefficients.
Public Functions
-
double bn_func(size_t np, const std::vector<double> &par, double T)¶
The neutron-neutron virial coefficient given the function parameters specified in
par
.
-
double bpn_func(size_t np, const std::vector<double> &par, double T)¶
The neutron-proton virial coefficient given the function parameters specified in
par
.
-
double bn_f(double T)¶
The neutron-neutron virial coefficient.
-
double bpn_f(double T)¶
The neutron-proton virial coefficient.
-
double dbndT_f(double T)¶
The temperature derivative of the neutron-neutron virial coefficient.
-
double dbpndT_f(double T)¶
The temperature derivative of the neutron-proton virial coefficient.
-
virtual void fit(bool show_fit = false)¶
Perform the fit to the scattering data.
-
double bn_func(size_t np, const std::vector<double> &par, double T)¶