Wildmeshing Toolkit
read_mesh.hpp File Reference
#include <filesystem>
#include <memory>
#include <vector>
Include dependency graph for read_mesh.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 wmtk
 
 wmtk::io
 
 wmtk::io::utils
 

Enumerations

enum class  wmtk::io::FileType { wmtk::io::Auto , wmtk::io::Msh , wmtk::io::HDF5 }
 

Functions

FileType wmtk::io::utils::guess_file_type (const std::string_view &file_name)
 
FileType wmtk::io::utils::guess_file_type_from_extension (const std::string_view &suffix)
 
std::shared_ptr< Mesh > wmtk::io::read_mesh (const std::filesystem::path &filename, FileType file_type)
 
std::shared_ptr< Mesh > wmtk::io::read_mesh (const std::filesystem::path &filename, const std::vector< std::vector< std::string >> &retrieved_attributes, FileType file_type)
 
std::shared_ptr< Mesh > wmtk::io::read_mesh (const std::filesystem::path &filename, const bool ignore_z_if_zero, const std::vector< std::string > &tetrahedron_attributes, FileType file_type)