packages/MC/geometry/Mesh_Geometry.cc
//---------------------------------------------------------------------------//
// PUBLIC INTERFACE
//---------------------------------------------------------------------------//
/*!
 * \brief Construct from cell edges
 */
PUBLIC INTERFACE
\brief Construct from cell edges
PUBLIC INTERFACE \ brief Construct from cell edges
Mesh_Geometry::Mesh_Geometry(
        const Vec_Dbl& x_edges,
        const Vec_Dbl& y_edges,
        const Vec_Dbl& z_edges)
    : d_mesh(x_edges, y_edges, z_edges)
    , d_reflect(6,0)
{
    INSIST(d_mesh.dimension() == 3, "Only 3-D meshes are supported.");
    get_cell_volumes();
}
Mesh_Geometry :: Mesh_Geometry ( const Vec_Dbl & x_edges , const Vec_Dbl & y_edges , const Vec_Dbl & z_edges ) : d_mesh ( x_edges , y_edges , z_edges ) , d_reflect ( 6 , 0 ) { INSIST ( d_mesh . dimension ( ) == 3 , " " ) ; get_cell_volumes ( ) ; }
PUBLIC INTERFACE
 \brief Construct from cell edges
PUBLIC INTERFACE \ brief Construct from cell edges