26 template <
typename T>
class MeshFunction;
36 MeshView(std::shared_ptr<const Mesh> parent_mesh,
45 std::shared_ptr<const Mesh>
mesh()
const
57 const std::vector<std::size_t>&
cell_map()
const
70 std::shared_ptr<const Mesh> _mesh;
73 std::vector<std::size_t> _vertex_map;
76 std::vector<std::size_t> _cell_map;
Definition: MeshView.h:29
MeshView(std::shared_ptr< const Mesh > parent_mesh, std::vector< std::size_t > &vertex_map, std::vector< std::size_t > &cell_map)
Constructor.
Definition: MeshView.h:36
std::shared_ptr< const Mesh > mesh() const
Access parent mesh.
Definition: MeshView.h:45
const std::vector< std::size_t > & cell_map() const
Map to cells of parent mesh.
Definition: MeshView.h:57
static Mesh create(const MeshFunction< std::size_t > &marker, std::size_t tag)
Definition: MeshView.cpp:28
const std::vector< std::size_t > & vertex_map() const
Map to vertices of parent mesh.
Definition: MeshView.h:51