src/cdi_CPEloss/Analytic_CP_Eloss.cc
double Analytic_CP_Eloss::getEloss(double temperature, double density, double v0) const {
  Require(temperature >= 0.0);
  Require(density >= 0.0);
  Require(v0 >= 0.0);

  // define return eloss
  double eloss = analytic_model->calculate_eloss(temperature, density, v0);

  Ensure(eloss >= 0.0);
  return eloss;
}
//------------------------------------------------------------------------------------------------//
// ELOSS INTERFACE FUNCTIONS
//------------------------------------------------------------------------------------------------//
/*!
 * \brief Return a scalar eloss given a scalar temperature, density, and particle speed.
 *
 * Given a scalar temperature/density/speed, return an eloss for the reaction type specified by the
 * constructor.  The analytic eloss model is specified in the constructor (Analytic_CP_Eloss()).
 *
 * \param[in] temperature material temperature in keV
 * \param[in] density material density in g/cm^3
 * \param[in] v0 incident particle speed in cm/shk
 * \return eloss (time coefficient) in shk^-1
 */
ELOSS INTERFACE FUNCTIONS
\brief Return a scalar eloss given a scalar temperature, density, and particle speed.

Given a scalar temperature/density/speed, return an eloss for the reaction type specified by the
constructor.  The analytic eloss model is specified in the constructor (Analytic_CP_Eloss()).

\param[in] temperature material temperature in keV
\param[in] density material density in g/cm^3
\param[in] v0 incident particle speed in cm/shk
\return eloss (time coefficient) in shk^-1
ELOSS INTERFACE FUNCTIONS \ brief Return a scalar eloss given a scalar temperature density and particle speed . Given a scalar temperature / density / speed return an eloss for the reaction type specified by the constructor . The analytic eloss model is specified in the constructor ( Analytic_CP_Eloss () ) . \ param [ in ] temperature material temperature in keV \ param [ in ] density material density in g / cm^3 \ param [ in ] v0 incident particle speed in cm / shk \ return eloss ( time coefficient ) in shk^ - 1
double Analytic_CP_Eloss::getEloss(double temperature, double density, double v0) const {
  Require(temperature >= 0.0);
  Require(density >= 0.0);
  Require(v0 >= 0.0);
  double eloss = analytic_model->calculate_eloss(temperature, density, v0);
  Ensure(eloss >= 0.0);
  return eloss;
}
double Analytic_CP_Eloss :: getEloss ( double temperature , double density , double v0 ) const { Require ( temperature >= 0.0 ) ; Require ( density >= 0.0 ) ; Require ( v0 >= 0.0 ) ; double eloss = analytic_model -> calculate_eloss ( temperature , density , v0 ) ; Ensure ( eloss >= 0.0 ) ; return eloss ; }
ELOSS INTERFACE FUNCTIONS
 \brief Return a scalar eloss given a scalar temperature, density, and particle speed.
ELOSS INTERFACE FUNCTIONS \ brief Return a scalar eloss given a scalar temperature density and particle speed .
// define return eloss