src/cdi_analytic/Analytic_EoS.cc
double Analytic_EoS::getIonTemperature(double rho, double Uic, double Tguess) const {
  Require(Tguess >= 0.0);
  Require(Uic >= 0.0);
  Require(rho > 0.0);

  double T_new = analytic_model->calculate_ion_temperature(rho, Uic, Tguess);

  Ensure(T_new >= 0.0);
  return T_new;
}
//------------------------------------------------------------------------------------------------//
/*!
 * \brief Return the ion temperature given density and the specific ion
 *        energy.
 *
 * Given density and specific ion energy fields, return an ion temperature.
 * The ion thermal conductivity is defined by the analytic model given to
 * the constructor (Analytic_EoS()).
 *
 * \param rho density field in g/cm^3 (unused by the current analytic models)
 * \param Uic specific ion energy plus cold curve energy density (kJ/g)
 * \param Tguess An ion temperature (keV) guess that can be used to help the
 *        root finder.
 * \return ion temperature in keV.
 */
\brief Return the ion temperature given density and the specific ion
energy.

Given density and specific ion energy fields, return an ion temperature.
The ion thermal conductivity is defined by the analytic model given to
the constructor (Analytic_EoS()).

\param rho density field in g/cm^3 (unused by the current analytic models)
\param Uic specific ion energy plus cold curve energy density (kJ/g)
\param Tguess An ion temperature (keV) guess that can be used to help the
root finder.
\return ion temperature in keV.
\ brief Return the ion temperature given density and the specific ion energy . Given density and specific ion energy fields return an ion temperature . The ion thermal conductivity is defined by the analytic model given to the constructor ( Analytic_EoS () ) . \ param rho density field in g / cm^3 ( unused by the current analytic models ) \ param Uic specific ion energy plus cold curve energy density ( kJ / g ) \ param Tguess An ion temperature ( keV ) guess that can be used to help the root finder . \ return ion temperature in keV .
double Analytic_EoS::getIonTemperature(double rho, double Uic, double Tguess) const {
  Require(Tguess >= 0.0);
  Require(Uic >= 0.0);
  Require(rho > 0.0);
  double T_new = analytic_model->calculate_ion_temperature(rho, Uic, Tguess);
  Ensure(T_new >= 0.0);
  return T_new;
}
double Analytic_EoS :: getIonTemperature ( double rho , double Uic , double Tguess ) const { Require ( Tguess >= 0.0 ) ; Require ( Uic >= 0.0 ) ; Require ( rho > 0.0 ) ; double T_new = analytic_model -> calculate_ion_temperature ( rho , Uic , Tguess ) ; Ensure ( T_new >= 0.0 ) ; return T_new ; }
\brief Return the ion temperature given density and the specific ion
        energy.
\ brief Return the ion temperature given density and the specific ion energy .