src/cdi/test/DummyEoS.cc
std::vector<double> DummyEoS::getElectronHeatCapacity(const std::vector<double> &vtemperature,
                                                      const std::vector<double> &vdensity) const {
  std::vector<double> ehc(vdensity.size());
  for (unsigned i = 0; i < vdensity.size(); ++i)
    ehc[i] = vtemperature[i] + vdensity[i] / 1000.0;
  return ehc;
}
//------------------------------------------------------------------------------------------------//
/*!
 * \brief Retrieve a set of electron based heat capacities for this material that correspond to the
 *        tuple list of provided densities and temperatures.
 *
 *     heat capacity = temperature + density/1000
 *
 * \param vdensity Density of the material in g/cm^3
 * \param vtemperature Temperature of the material in Kelvin.
 * \return The electron based heat capacity in kJ/g/K.
 */
\brief Retrieve a set of electron based heat capacities for this material that correspond to the
tuple list of provided densities and temperatures.

heat capacity = temperature + density/1000

\param vdensity Density of the material in g/cm^3
\param vtemperature Temperature of the material in Kelvin.
\return The electron based heat capacity in kJ/g/K.
\ brief Retrieve a set of electron based heat capacities for this material that correspond to the tuple list of provided densities and temperatures . heat capacity = temperature + density / 1000 \ param vdensity Density of the material in g / cm^3 \ param vtemperature Temperature of the material in Kelvin . \ return The electron based heat capacity in kJ / g / K .
std::vector<double> DummyEoS::getElectronHeatCapacity(const std::vector<double> &vtemperature,
                                                      const std::vector<double> &vdensity) const {
  std::vector<double> ehc(vdensity.size());
  for (unsigned i = 0; i < vdensity.size(); ++i)
    ehc[i] = vtemperature[i] + vdensity[i] / 1000.0;
  return ehc;
}
std :: vector < double > DummyEoS :: getElectronHeatCapacity ( const std :: vector < double > & vtemperature , const std :: vector < double > & vdensity ) const { std :: vector < double > ehc ( vdensity . size ( ) ) ; for ( unsigned i = 0 ; i < vdensity . size ( ) ; ++ i ) ehc [ i ] = vtemperature [ i ] + vdensity [ i ] / 1000.0 ; return ehc ; }
\brief Retrieve a set of electron based heat capacities for this material that correspond to the
        tuple list of provided densities and temperatures.
\ brief Retrieve a set of electron based heat capacities for this material that correspond to the tuple list of provided densities and temperatures .