src/cdi/test/DummyEoS.cc
std::vector<double>
DummyEoS::getSpecificElectronInternalEnergy(const std::vector<double> &vtemperature,
                                            const std::vector<double> &vdensity) const {
  std::vector<double> seie(vdensity.size());
  for (unsigned i = 0; i < vdensity.size(); ++i)
    seie[i] = vtemperature[i] + 1000.0 * vdensity[i];
  return seie;
}
//------------------------------------------------------------------------------------------------//
/*!
 * \brief EoS accessor that returns a vector of specific electron internal energies that correspond
 *     to the provided vectors of temperatures and densities.
 *
 *    internal energy[i] = temperature[i] + 1000*density[i]
 *
 * \param vtemperature A vector of temperature values for which the EoS values are being requested
 *           (Kelvin).
 * \param vdensity A vector of density values for which the EoS values are being requested (g/cm^3).
 * \return A vector of specific electron internal energies (kJ/g).
 */
\brief EoS accessor that returns a vector of specific electron internal energies that correspond
to the provided vectors of temperatures and densities.



\param vtemperature A vector of temperature values for which the EoS values are being requested
(Kelvin).
\param vdensity A vector of density values for which the EoS values are being requested (g/cm^3).
\return A vector of specific electron internal energies (kJ/g).
\ brief EoS accessor that returns a vector of specific electron internal energies that correspond to the provided vectors of temperatures and densities . \ param vtemperature A vector of temperature values for which the EoS values are being requested ( Kelvin ) . \ param vdensity A vector of density values for which the EoS values are being requested ( g / cm^3 ) . \ return A vector of specific electron internal energies ( kJ / g ) .
std::vector<double>
DummyEoS::getSpecificElectronInternalEnergy(const std::vector<double> &vtemperature,
                                            const std::vector<double> &vdensity) const {
  std::vector<double> seie(vdensity.size());
  for (unsigned i = 0; i < vdensity.size(); ++i)
    seie[i] = vtemperature[i] + 1000.0 * vdensity[i];
  return seie;
}
std :: vector < double > DummyEoS :: getSpecificElectronInternalEnergy ( const std :: vector < double > & vtemperature , const std :: vector < double > & vdensity ) const { std :: vector < double > seie ( vdensity . size ( ) ) ; for ( unsigned i = 0 ; i < vdensity . size ( ) ; ++ i ) seie [ i ] = vtemperature [ i ] + 1000.0 * vdensity [ i ] ; return seie ; }
\brief EoS accessor that returns a vector of specific electron internal energies that correspond
     to the provided vectors of temperatures and densities.
\ brief EoS accessor that returns a vector of specific electron internal energies that correspond to the provided vectors of temperatures and densities .