packages/MC/geometry/Mesh_Geometry.cc
//---------------------------------------------------------------------------//
/*!
 * \brief Set a field of material IDs (optional)
 */
\brief Set a field of material IDs (optional)
\ brief Set a field of material IDs ( optional )
void Mesh_Geometry::set_matids(SP_Vec_Int matids)
{
    REQUIRE(matids);
    REQUIRE(matids->size() == num_cells());
    d_materials = matids;
}
void Mesh_Geometry :: set_matids ( SP_Vec_Int matids ) { REQUIRE ( matids ) ; REQUIRE ( matids -> size ( ) == num_cells ( ) ) ; d_materials = matids ; }
\brief Set a field of material IDs (optional)
\ brief Set a field of material IDs ( optional )