10 #include <mshio/mshio.h>
19 std::shared_ptr<Mesh>
read(
20 const std::filesystem::path& filename,
21 const bool ignore_z_if_zero,
22 const std::vector<std::string>& extra_facet_attributes = {});
23 std::shared_ptr<Mesh>
read(
24 const std::filesystem::path& filename,
25 const int64_t embedded_dimension,
26 const std::vector<std::vector<std::string>>& extra_attributes);
27 std::shared_ptr<Mesh>
read(
28 const std::filesystem::path& filename,
29 const int64_t embedded_dimension = -1);
58 const std::optional<std::vector<std::vector<std::string>>>& extra_attributes = {});
61 auto generateT() -> std::shared_ptr<wmtk::utils::mesh_type_from_dimension_t<DIM>>;
64 auto construct() -> std::shared_ptr<wmtk::utils::mesh_type_from_dimension_t<DIM>>;
const mshio::ElementBlock * get_simplex_element_block(int DIM) const
auto construct() -> std::shared_ptr< wmtk::utils::mesh_type_from_dimension_t< DIM >>
size_t get_num_simplex_elements(int DIM) const
int get_mesh_dimension() const
int get_embedded_dimension() const
static const int64_t AUTO_EMBEDDED_DIMENSION
std::shared_ptr< Mesh > read(const std::filesystem::path &filename, const bool ignore_z_if_zero, const std::vector< std::string > &extra_facet_attributes={})
int64_t m_embedded_dimension
size_t get_num_vertices(int DIM) const
const mshio::NodeBlock * get_vertex_block(int DIM) const
auto generateT() -> std::shared_ptr< wmtk::utils::mesh_type_from_dimension_t< DIM >>
void extract_simplex_elements()
std::shared_ptr< Mesh > generate(const std::optional< std::vector< std::vector< std::string >>> &extra_attributes={})
void extract_element_attribute(wmtk::Mesh &m, const std::string &attr_name, PrimitiveType pt)
MatrixX< int64_t > MatrixXl