src/cdi_ipcress/IpcressMultigroupOpacity.cc
std::vector<std::vector<double>>
IpcressMultigroupOpacity::getOpacity(std::vector<double> const &targetTemperature,
                                     double targetDensity) const {
  std::vector<std::vector<double>> opacity(targetTemperature.size());
  for (size_t i = 0; i < targetTemperature.size(); ++i)
    opacity[i] = getOpacity(targetTemperature[i], targetDensity);
  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 temperatures and a single density 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 temperatures and a single density 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 temperatures and a single density value .
std::vector<std::vector<double>>
IpcressMultigroupOpacity::getOpacity(std::vector<double> const &targetTemperature,
                                     double targetDensity) const {
  std::vector<std::vector<double>> opacity(targetTemperature.size());
  for (size_t i = 0; i < targetTemperature.size(); ++i)
    opacity[i] = getOpacity(targetTemperature[i], targetDensity);
  return opacity;
}
std :: vector < std :: vector < double > > IpcressMultigroupOpacity :: getOpacity ( std :: vector < double > const & targetTemperature , double targetDensity ) const { std :: vector < std :: vector < double > > opacity ( targetTemperature . size ( ) ) ; for ( size_t i = 0 ; i < targetTemperature . size ( ) ; ++ i ) opacity [ i ] = getOpacity ( targetTemperature [ i ] , targetDensity ) ; 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 temperatures and a single density 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 temperatures and a single density value .