20 #ifndef LIBMESH_NAMEBASED_IO_H 21 #define LIBMESH_NAMEBASED_IO_H 24 #include "libmesh/mesh_output.h" 25 #include "libmesh/mesh_input.h" 66 virtual void read (
const std::string & mesh_file)
override;
71 virtual void write (
const std::string & mesh_file)
override;
84 const std::set<std::string> * system_names=
nullptr)
override;
97 const std::vector<Number> &,
98 const std::vector<std::string> &)
override;
126 return ((
name.rfind(
".xda") <
name.size()) ||
127 (
name.rfind(
".xdr") <
name.size()) ||
128 (
name.rfind(
".nem") ==
name.size() - 4) ||
129 (
name.rfind(
".n") ==
name.size() - 2) ||
138 #endif // LIBMESH_NAMEBASED_IO_H std::string name(const ElemQuality q)
This function returns a string containing some name for q.
This class supports simple reads and writes in any libMesh-supported format, by dispatching to one of...
virtual void write_equation_systems(const std::string &filename, const EquationSystems &es, const std::set< std::string > *system_names=nullptr) override
This method implements writing a mesh with data to a specified file where the data is taken from the ...
This is the EquationSystems class.
bool is_parallel_file_format(std::string_view filename)
virtual void read(const std::string &mesh_file) override
This method implements reading a mesh from a specified file.
This class defines an abstract interface for Mesh output.
The libMesh namespace provides an interface to certain functionality in the library.
NameBasedIO(const MeshBase &)
Constructor.
This is the MeshBase class.
virtual void write(const std::string &mesh_file) override
This method implements writing a mesh to a specified file.
virtual void write_nodal_data(const std::string &, const std::vector< Number > &, const std::vector< std::string > &) override
This method implements writing a mesh with nodal data to a specified file where the nodal data and va...