Wildmeshing Toolkit
wmtk::io::utils Namespace Reference

Functions

FileType guess_file_type_from_extension (const std::string_view &suffix)
 
FileType guess_file_type (const std::filesystem::path &filename)
 
FileType guess_file_type (const std::string_view &file_name)
 

Function Documentation

◆ guess_file_type() [1/2]

FileType wmtk::io::utils::guess_file_type ( const std::filesystem::path &  filename)

Definition at line 20 of file read_mesh.cpp.

References wmtk::io::Auto, guess_file_type_from_extension(), and wmtk::log_and_throw_error().

Referenced by wmtk::io::read_mesh().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ guess_file_type() [2/2]

FileType wmtk::io::utils::guess_file_type ( const std::string_view &  file_name)

◆ guess_file_type_from_extension()

FileType wmtk::io::utils::guess_file_type_from_extension ( const std::string_view &  suffix)

Definition at line 9 of file read_mesh.cpp.

References wmtk::io::Auto, wmtk::io::HDF5, and wmtk::io::Msh.

Referenced by guess_file_type().

Here is the caller graph for this function: