packages/MC/mc/Group_Bounds.cc
//---------------------------------------------------------------------------//
/*!
 * \brief Get the upper and lower energy bound of a group.
 */
\brief Get the upper and lower energy bound of a group.
\ brief Get the upper and lower energy bound of a group .
void Group_Bounds::get_energy(int     group_index,
                              double &lower,
                              double &upper) const
{
    REQUIRE(group_index < num_groups());
    REQUIRE(group_index + 1 < d_bounds.size());
    upper = d_bounds[group_index];
    lower = d_bounds[group_index + 1];
    ENSURE(lower < upper);
}
void Group_Bounds :: get_energy ( int group_index , double & lower , double & upper ) const { REQUIRE ( group_index < num_groups ( ) ) ; REQUIRE ( group_index + 1 < d_bounds . size ( ) ) ; upper = d_bounds [ group_index ] ; lower = d_bounds [ group_index + 1 ] ; ENSURE ( lower < upper ) ; }
\brief Get the upper and lower energy bound of a group.
\ brief Get the upper and lower energy bound of a group .