src/cdi/test/DummyEoS.cc
std::vector<double> DummyEoS::getNumFreeElectronsPerIon(const std::vector<double> &vtemperature,
                                                        const std::vector<double> &vdensity) const {
  std::vector<double> nfepi(vdensity.size());
  for (unsigned i = 0; i < vdensity.size(); ++i)
    nfepi[i] = vtemperature[i] / 100.0;
  return nfepi;
}
//------------------------------------------------------------------------------------------------//
/*!
 * \brief Retrieve a set of free electrons per ion averages for this material that correspond to the
 *        tuple list of provided densities and temperatures.
 *
 * \param vdensity Density of the material in g/cm^3
 * \param vtemperature Temperature of the material in Kelvin.
 * \return A vector of the number of free electrons per ion.
 */
\brief Retrieve a set of free electrons per ion averages for this material that correspond to the
tuple list of provided densities and temperatures.

\param vdensity Density of the material in g/cm^3
\param vtemperature Temperature of the material in Kelvin.
\return A vector of the number of free electrons per ion.
\ brief Retrieve a set of free electrons per ion averages for this material that correspond to the tuple list of provided densities and temperatures . \ param vdensity Density of the material in g / cm^3 \ param vtemperature Temperature of the material in Kelvin . \ return A vector of the number of free electrons per ion .
std::vector<double> DummyEoS::getNumFreeElectronsPerIon(const std::vector<double> &vtemperature,
                                                        const std::vector<double> &vdensity) const {
  std::vector<double> nfepi(vdensity.size());
  for (unsigned i = 0; i < vdensity.size(); ++i)
    nfepi[i] = vtemperature[i] / 100.0;
  return nfepi;
}
std :: vector < double > DummyEoS :: getNumFreeElectronsPerIon ( const std :: vector < double > & vtemperature , const std :: vector < double > & vdensity ) const { std :: vector < double > nfepi ( vdensity . size ( ) ) ; for ( unsigned i = 0 ; i < vdensity . size ( ) ; ++ i ) nfepi [ i ] = vtemperature [ i ] / 100.0 ; return nfepi ; }
\brief Retrieve a set of free electrons per ion averages for this material that correspond to the
        tuple list of provided densities and temperatures.
\ brief Retrieve a set of free electrons per ion averages for this material that correspond to the tuple list of provided densities and temperatures .