src/cdi_analytic/Analytic_MultigroupOpacity.cc
Analytic_MultigroupOpacity::Analytic_MultigroupOpacity(sf_double groups,
                                                       rtt_cdi::Reaction reaction_in,
                                                       rtt_cdi::Model model_in)
    : group_boundaries(std::move(groups)), reaction(reaction_in), model(model_in) {
  Require(reaction == rtt_cdi::TOTAL || reaction == rtt_cdi::ABSORPTION ||
          reaction == rtt_cdi::SCATTERING);
}
//------------------------------------------------------------------------------------------------//
// CONSTRUCTORS
//------------------------------------------------------------------------------------------------//
/*!
 * \brief Constructor for an analytic multigroup opacity model.
 *
 * This constructor builds an opacity model defined by the
 * rtt_cdi_analytic::Analytic_Opacity_Model derived class argument.
 *
 * The reaction type for this instance of the class is determined by the
 * rtt_cdi::Reaction argument.
 *
 * The group structure (in keV) must be provided by the groups argument.  The
 * number of Analytic_Opacity_Model objects given in the models argument must
 * be equal to the number of groups.
 *
 * \param[in] groups vector containing the group boundaries in keV from lowest
 *               to highest
 * \param[in] reaction_in rtt_cdi::Reaction type (enumeration)
 * \param[in] model_in CDI type
 */
CONSTRUCTORS
\brief Constructor for an analytic multigroup opacity model.

This constructor builds an opacity model defined by the
rtt_cdi_analytic::Analytic_Opacity_Model derived class argument.

The reaction type for this instance of the class is determined by the
rtt_cdi::Reaction argument.

The group structure (in keV) must be provided by the groups argument.  The
number of Analytic_Opacity_Model objects given in the models argument must
be equal to the number of groups.

\param[in] groups vector containing the group boundaries in keV from lowest
to highest
\param[in] reaction_in rtt_cdi::Reaction type (enumeration)
\param[in] model_in CDI type
CONSTRUCTORS \ brief Constructor for an analytic multigroup opacity model . This constructor builds an opacity model defined by the rtt_cdi_analytic :: Analytic_Opacity_Model derived class argument . The reaction type for this instance of the class is determined by the rtt_cdi :: Reaction argument . The group structure ( in keV ) must be provided by the groups argument . The number of Analytic_Opacity_Model objects given in the models argument must be equal to the number of groups . \ param [ in ] groups vector containing the group boundaries in keV from lowest to highest \ param [ in ] reaction_in rtt_cdi :: Reaction type ( enumeration ) \ param [ in ] model_in CDI type
Analytic_MultigroupOpacity::Analytic_MultigroupOpacity(sf_double groups,
                                                       rtt_cdi::Reaction reaction_in,
                                                       rtt_cdi::Model model_in)
    : group_boundaries(std::move(groups)), reaction(reaction_in), model(model_in) {
  Require(reaction == rtt_cdi::TOTAL || reaction == rtt_cdi::ABSORPTION ||
          reaction == rtt_cdi::SCATTERING);
}
Analytic_MultigroupOpacity :: Analytic_MultigroupOpacity ( sf_double groups , rtt_cdi :: Reaction reaction_in , rtt_cdi :: Model model_in ) : group_boundaries ( std :: move ( groups ) ) , reaction ( reaction_in ) , model ( model_in ) { Require ( reaction == rtt_cdi :: TOTAL || reaction == rtt_cdi :: ABSORPTION || reaction == rtt_cdi :: SCATTERING ) ; }
CONSTRUCTORS
 \brief Constructor for an analytic multigroup opacity model.
CONSTRUCTORS \ brief Constructor for an analytic multigroup opacity model .