20 #ifndef LIBMESH_GMV_IO_H 21 #define LIBMESH_GMV_IO_H 28 #ifdef LIBMESH_FORWARD_DECLARE_ENUMS 76 virtual void write (
const std::string &)
override;
81 virtual void read (
const std::string & mesh_file)
override;
94 const std::vector<Number> &,
95 const std::vector<std::string> &)
override;
141 const bool write_partitioning,
142 const std::set<std::string> * system_names=
nullptr)
const;
152 const std::vector<Number> * =
nullptr,
153 const std::vector<std::string> * =
nullptr);
167 const std::vector<Real> * cell_centered_data_vals);
184 const std::vector<Number> * =
nullptr,
185 const std::vector<std::string> * =
nullptr);
193 const std::vector<Number> * =
nullptr,
194 const std::vector<std::string> * =
nullptr);
261 #endif // LIBMESH_GMV_IO_H std::string name(const ElemQuality q)
virtual void read(const std::string &mesh_file) override
Manages multiples systems of equations.
static std::map< std::string, ElemType > _reading_element_map
virtual void write(const std::string &) override
void write_binary(const std::string &, const std::vector< Number > *=nullptr, const std::vector< std::string > *=nullptr)
unsigned int _next_elem_id
std::map< std::string, std::vector< Number > > _nodal_data
virtual void write_nodal_data(const std::string &, const std::vector< Number > &, const std::vector< std::string > &) override
bool & write_subdomain_id_as_material()
ElemType gmv_elem_to_libmesh_elem(std::string elemname)
std::map< std::string, const std::vector< Real > *> _cell_centered_data
static std::map< std::string, ElemType > build_reading_element_map()
bool _write_subdomain_id_as_material
bool _subdivide_second_order
void copy_nodal_solution(EquationSystems &es)
void write_ascii_old_impl(const std::string &, const std::vector< Number > *=nullptr, const std::vector< std::string > *=nullptr)
bool & subdivide_second_order()
void write_ascii_new_impl(const std::string &, const std::vector< Number > *=nullptr, const std::vector< std::string > *=nullptr)
void add_cell_centered_data(const std::string &cell_centered_data_name, const std::vector< Real > *cell_centered_data_vals)
void write_discontinuous_gmv(const std::string &name, const EquationSystems &es, const bool write_partitioning, const std::set< std::string > *system_names=nullptr) const