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

  double number = analytic_model->calculate_num_free_elec_per_ion(T, rho);

  Ensure(number >= 0.0);
  return number;
}
//------------------------------------------------------------------------------------------------//
/*!
 *
 * \brief Return a scalar number of free electrons per ion given a scalar
 * temperature and density.
 *
 * Given a scalar temperature and density, return the number of free
 * electrons per ion.  The number of free electrons per ion 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 number of free electrons per ion
 */
\brief Return a scalar number of free electrons per ion given a scalar
temperature and density.

Given a scalar temperature and density, return the number of free
electrons per ion.  The number of free electrons per ion 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 number of free electrons per ion
\ brief Return a scalar number of free electrons per ion given a scalar temperature and density . Given a scalar temperature and density return the number of free electrons per ion . The number of free electrons per ion 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 number of free electrons per ion
double Analytic_EoS::getNumFreeElectronsPerIon(double T, double rho) const {
  Require(T >= 0.0);
  Require(rho >= 0.0);
  double number = analytic_model->calculate_num_free_elec_per_ion(T, rho);
  Ensure(number >= 0.0);
  return number;
}
double Analytic_EoS :: getNumFreeElectronsPerIon ( double T , double rho ) const { Require ( T >= 0.0 ) ; Require ( rho >= 0.0 ) ; double number = analytic_model -> calculate_num_free_elec_per_ion ( T , rho ) ; Ensure ( number >= 0.0 ) ; return number ; }
\brief Return a scalar number of free electrons per ion given a scalar
 temperature and density.
\ brief Return a scalar number of free electrons per ion given a scalar temperature and density .