src/cdi_analytic/Analytic_EoS.cc
double Analytic_EoS::getSpecificElectronInternalEnergy(double T, double rho) const {
  Require(T >= 0.0);
  Require(rho >= 0.0);

  double internal_energy = analytic_model->calculate_electron_internal_energy(T, rho);

  Ensure(internal_energy >= 0.0);
  return internal_energy;
}
//------------------------------------------------------------------------------------------------//
// EoS INTERFACE FUNCTIONS
//------------------------------------------------------------------------------------------------//
/*!
 *
 * \brief Return a scalar electron internal energy given a scalar temperature
 * and density.
 *
 * Given a scalar temperature and density, return the electron internal
 * energy.  The electron internal energy is defined by the analytic model
 * given to the constructor (Analytic_EoS()).
 *
 * \param T material temperature in keV
 * \param rho density in g/cm^3
 * \return electron internal energy in kJ/g
 */
EoS INTERFACE FUNCTIONS
\brief Return a scalar electron internal energy given a scalar temperature
and density.

Given a scalar temperature and density, return the electron internal
energy.  The electron internal energy is defined by the analytic model
given to the constructor (Analytic_EoS()).

\param T material temperature in keV
\param rho density in g/cm^3
\return electron internal energy in kJ/g
EoS INTERFACE FUNCTIONS \ brief Return a scalar electron internal energy given a scalar temperature and density . Given a scalar temperature and density return the electron internal energy . The electron internal energy is defined by the analytic model given to the constructor ( Analytic_EoS () ) . \ param T material temperature in keV \ param rho density in g / cm^3 \ return electron internal energy in kJ / g
double Analytic_EoS::getSpecificElectronInternalEnergy(double T, double rho) const {
  Require(T >= 0.0);
  Require(rho >= 0.0);
  double internal_energy = analytic_model->calculate_electron_internal_energy(T, rho);
  Ensure(internal_energy >= 0.0);
  return internal_energy;
}
double Analytic_EoS :: getSpecificElectronInternalEnergy ( double T , double rho ) const { Require ( T >= 0.0 ) ; Require ( rho >= 0.0 ) ; double internal_energy = analytic_model -> calculate_electron_internal_energy ( T , rho ) ; Ensure ( internal_energy >= 0.0 ) ; return internal_energy ; }
EoS INTERFACE FUNCTIONS
 \brief Return a scalar electron internal energy given a scalar temperature
 and density.
EoS INTERFACE FUNCTIONS \ brief Return a scalar electron internal energy given a scalar temperature and density .