src/cdi_analytic/Analytic_EoS.cc
//------------------------------------------------------------------------------------------------//
/*!
 *
 * \brief Return a scalar ion heat capacity given a scalar temperature and
 * density.
 *
 * Given a scalar temperature and density, return the ion heat capacity.  The
 * ion heat capacity 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 heat capacity in kJ/g/keV
 */
\brief Return a scalar ion heat capacity given a scalar temperature and
density.

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