16 #ifndef _MESH_READER_H2D_XML_H_
17 #define _MESH_READER_H2D_XML_H_
19 #include "mesh_reader.h"
31 #define error(...) hermes_exit_if(hermes_log_message_if(true, HERMES_BUILD_LOG_INFO(HERMES_EC_ERROR), __VA_ARGS__))
61 virtual void load(
const char *filename, MeshSharedPtr mesh);
64 virtual void load(std::auto_ptr<XMLMesh::mesh> & parsed_xml_mesh, MeshSharedPtr mesh);
67 void save(
const char *filename, MeshSharedPtr mesh);
72 void load(
const char *filename, std::vector<MeshSharedPtr> meshes);
77 void load(std::auto_ptr<XMLSubdomains::domain> & parsed_xml_domain, std::vector<MeshSharedPtr> meshes);
80 void save(
const char *filename, std::vector<MeshSharedPtr> meshes);
84 void load(std::auto_ptr<XMLMesh::mesh> & parsed_xml_mesh, MeshSharedPtr mesh, std::map<unsigned int, unsigned int>& vertex_is);
87 void load(std::auto_ptr<XMLSubdomains::domain> & parsed_xml_domain, MeshSharedPtr mesh, std::map<int, int>& vertex_is, std::map<int, int>& element_is, std::map<int, int>& edge_is);
93 Nurbs* load_nurbs(MeshSharedPtr mesh, std::auto_ptr<T> & parsed_xml_entity,
int id,
Node** en,
int p1,
int p2,
bool skip_check =
false);
Represents one NURBS curve.
Generated from subdomains_h2d_xml.xsd.
Stores one node of a mesh.
Generated from mesh_h2d_xml.xsd.
Class corresponding to the curves_type schema type.