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

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

  Ensure(internal_energy >= 0.0);
  return internal_energy;
}
//------------------------------------------------------------------------------------------------//
/*!
 *
 * \brief Return a scalar ion internal energy given a scalar temperature and
 * density.
 *
 * Given a scalar temperature and density, return the ion internal energy.
 * The ion 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 ion internal energy in kJ/g
 */
\brief Return a scalar ion internal energy given a scalar temperature and
density.

Given a scalar temperature and density, return the ion internal energy.
The ion 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 ion internal energy in kJ/g
\ brief Return a scalar ion internal energy given a scalar temperature and density . Given a scalar temperature and density return the ion internal energy . The ion 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 ion internal energy in kJ / g
double Analytic_EoS::getSpecificIonInternalEnergy(double T, double rho) const {
  Require(T >= 0.0);
  Require(rho >= 0.0);
  double internal_energy = analytic_model->calculate_ion_internal_energy(T, rho);
  Ensure(internal_energy >= 0.0);
  return internal_energy;
}
double Analytic_EoS :: getSpecificIonInternalEnergy ( double T , double rho ) const { Require ( T >= 0.0 ) ; Require ( rho >= 0.0 ) ; double internal_energy = analytic_model -> calculate_ion_internal_energy ( T , rho ) ; Ensure ( internal_energy >= 0.0 ) ; return internal_energy ; }
\brief Return a scalar ion internal energy given a scalar temperature and
 density.
\ brief Return a scalar ion internal energy given a scalar temperature and density .