packages/Matprop/xs/Mat_DB.cc
//---------------------------------------------------------------------------//
/*!
 * \brief Assignment from a vector of matids.
 *
 * \warning This will resize the internal number of cells to the input vector
 * size
 *
 * \param matids vector of material ids; the internal number of cells will be
 * set to the size of this vector
 */
\brief Assignment from a vector of matids.
\warning This will resize the internal number of cells to the input vector
size

\param matids vector of material ids; the internal number of cells will be
set to the size of this vector
\ brief Assignment from a vector of matids . \ warning This will resize the internal number of cells to the input vector size \ param matids vector of material ids ; the internal number of cells will be set to the size of this vector
void Mat_DB::assign(const Vec_Int &matids)
{
    REQUIRE(!matids.empty());
    d_matids = matids;
}
void Mat_DB :: assign ( const Vec_Int & matids ) { REQUIRE ( ! matids . empty ( ) ) ; d_matids = matids ; }
\brief Assignment from a vector of matids.
\ brief Assignment from a vector of matids .