src/cdi/test/DummyGrayOpacity.cc
std::vector<double> DummyGrayOpacity::getOpacity(const std::vector<double> &targetTemperature,
                                                 double targetDensity) const {
  std::vector<double> grayOpacity(targetTemperature.size());
  for (size_t i = 0; i < targetTemperature.size(); ++i)
    grayOpacity[i] = targetTemperature[i] + targetDensity / 1000.0;
  return grayOpacity;
}
/*!
 * \brief Opacity accessor that returns a vector of opacities that correspond to the provided vector
 *        of temperatures and a single density value.
 *
 *     Opacity[i] = temperature[i] + density/1000
 */
\brief Opacity accessor that returns a vector of opacities that correspond to the provided vector
of temperatures and a single density value.

Opacity[i] = temperature[i] + density/1000
\ brief Opacity accessor that returns a vector of opacities that correspond to the provided vector of temperatures and a single density value . Opacity [ i ] = temperature [ i ] + density / 1000
std::vector<double> DummyGrayOpacity::getOpacity(const std::vector<double> &targetTemperature,
                                                 double targetDensity) const {
  std::vector<double> grayOpacity(targetTemperature.size());
  for (size_t i = 0; i < targetTemperature.size(); ++i)
    grayOpacity[i] = targetTemperature[i] + targetDensity / 1000.0;
  return grayOpacity;
}
std :: vector < double > DummyGrayOpacity :: getOpacity ( const std :: vector < double > & targetTemperature , double targetDensity ) const { std :: vector < double > grayOpacity ( targetTemperature . size ( ) ) ; for ( size_t i = 0 ; i < targetTemperature . size ( ) ; ++ i ) grayOpacity [ i ] = targetTemperature [ i ] + targetDensity / 1000.0 ; return grayOpacity ; }
\brief Opacity accessor that returns a vector of opacities that correspond to the provided vector
        of temperatures and a single density value.
\ brief Opacity accessor that returns a vector of opacities that correspond to the provided vector of temperatures and a single density value .