18 #ifndef OUTPUT_MSH_HH_ 19 #define OUTPUT_MSH_HH_ 96 void write_msh_header(void);
102 void write_msh_geometry(void);
108 void write_msh_topology(void);
117 void write_msh_ascii_data(std::shared_ptr<ElementDataCache<unsigned int>> id_cache, OutputDataPtr output_data, bool discont = false);
126 void write_node_data(OutputDataPtr output_data);
131 void write_corner_data(OutputDataPtr output_data);
141 void write_elem_data(OutputDataPtr output_data);
146 void fix_base_file_name(void);
149 std::shared_ptr<ElementDataCache<unsigned int>> node_ids_;
151 std::shared_ptr<ElementDataCache<unsigned int>> elem_ids_;
153 std::shared_ptr<ElementDataCache<unsigned int>> region_ids_;
155 std::shared_ptr<ElementDataCache<int>> partitions_;
158 #endif /* OUTPUT_MSH_HH_ */
std::vector< std::vector< OutputDataPtr > > dummy_data_list_
static const Input::Type::Record & get_input_type()
The definition of input record for gmsh file format.
OutputMSH()
The constructor of this class. We open the output file in first call of write_data.
static const int registrar
Registrar of class to factory.
OutputTime FactoryBaseType
int write_tail(void)
This method should write tail of GMSH (.msh) file format.
void add_dummy_fields() override
Complete information about dummy fields that are not in output_data_list_.
~OutputMSH()
The destructor of this class.
The class for outputting data during time.
void set_output_data_caches(std::shared_ptr< OutputMeshBase > mesh_ptr) override
int write_data(void)
This method writes data to GMSH (.msh) file format for current time.
Vector classes to support both Iterator, index and Id access and creating co-located vectors...
This class is used for output data to VTK file format.
int write_head(void)
This method writes head of GMSH (.msh) file format.