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

  double heat_capacity = analytic_model->calculate_electron_heat_capacity(T, rho);

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

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