src/cdi_ipcress/IpcressMultigroupOpacity.cc
std::vector<std::vector<double>>
IpcressMultigroupOpacity::getOpacity(double targetTemperature,
                                     const std::vector<double> &targetDensity) const {
  std::vector<std::vector<double>> opacity(targetDensity.size());
  for (size_t i = 0; i < targetDensity.size(); ++i)
    opacity[i] = getOpacity(targetTemperature, targetDensity[i]);
  return opacity;
}
//------------------------------------------------------------------------------------------------//
/*!
 * \brief Opacity accessor that returns a vector of opacities (or a vector of
 *     vectors of opacities for the multigroup EnergyPolicy) that correspond to
 *     the provided vector of densities and a single temperature value.
 */
\brief Opacity accessor that returns a vector of opacities (or a vector of
vectors of opacities for the multigroup EnergyPolicy) that correspond to
the provided vector of densities and a single temperature value.
\ brief Opacity accessor that returns a vector of opacities ( or a vector of vectors of opacities for the multigroup EnergyPolicy ) that correspond to the provided vector of densities and a single temperature value .
std::vector<std::vector<double>>
IpcressMultigroupOpacity::getOpacity(double targetTemperature,
                                     const std::vector<double> &targetDensity) const {
  std::vector<std::vector<double>> opacity(targetDensity.size());
  for (size_t i = 0; i < targetDensity.size(); ++i)
    opacity[i] = getOpacity(targetTemperature, targetDensity[i]);
  return opacity;
}
std :: vector < std :: vector < double > > IpcressMultigroupOpacity :: getOpacity ( double targetTemperature , const std :: vector < double > & targetDensity ) const { std :: vector < std :: vector < double > > opacity ( targetDensity . size ( ) ) ; for ( size_t i = 0 ; i < targetDensity . size ( ) ; ++ i ) opacity [ i ] = getOpacity ( targetTemperature , targetDensity [ i ] ) ; return opacity ; }
\brief Opacity accessor that returns a vector of opacities (or a vector of
     vectors of opacities for the multigroup EnergyPolicy) that correspond to
     the provided vector of densities and a single temperature value.
\ brief Opacity accessor that returns a vector of opacities ( or a vector of vectors of opacities for the multigroup EnergyPolicy ) that correspond to the provided vector of densities and a single temperature value .