18 #ifndef OUTPUT_MSH_HH_
19 #define OUTPUT_MSH_HH_
23 namespace Input {
namespace Type {
class Record; } }
148 std::shared_ptr<ElementDataCache<unsigned int>>
node_ids_;
150 std::shared_ptr<ElementDataCache<unsigned int>>
elem_ids_;
This class is used for output data to VTK file format.
static const Input::Type::Record & get_input_type()
The definition of input record for gmsh file format.
std::vector< std::vector< OutputDataPtr > > dummy_data_list_
std::shared_ptr< ElementDataCache< unsigned int > > elem_ids_
Vector gets ids of elements.
int write_data(void)
This method writes data to GMSH (.msh) file format for current time.
OutputMSH()
The constructor of this class. We open the output file in first call of write_data.
void write_msh_ascii_data(std::shared_ptr< ElementDataCache< unsigned int >> id_cache, OutputDataPtr output_data, const std::vector< unsigned int > &permutations)
This function writes nodes / elements ascii data to GMSH (.msh) output file.
void write_node_data(OutputDataPtr output_data)
This function write all data on nodes to output file. This function is used for static and dynamic da...
void set_output_data_caches(std::shared_ptr< OutputMeshBase > mesh_ptr) override
void write_msh_geometry(void)
This function writes geometry (position of nodes) to GMSH (.msh) file format.
std::shared_ptr< ElementDataCache< int > > partitions_
Vector gets partitions of elements.
OutputTime FactoryBaseType
void write_corner_data(OutputDataPtr output_data)
writes ElementNode data ascii GMSH (.msh) output file.
void fix_base_file_name(void)
This method add right suffix to .msh GMSH file.
int write_head(void)
This method writes head of GMSH (.msh) file format.
~OutputMSH()
The destructor of this class.
static const int registrar
Registrar of class to factory.
std::shared_ptr< ElementDataCache< unsigned int > > node_ids_
Vector gets ids of nodes.
void write_msh_header(void)
This function write header of GMSH (.msh) file format.
int write_tail(void)
This method should write tail of GMSH (.msh) file format.
void write_elem_data(OutputDataPtr output_data)
This function write all data on elements to output file. This function is used for static and dynamic...
void write_msh_topology(void)
This function writes topology (connection of nodes) to the GMSH (.msh) file format.
std::shared_ptr< ElementDataCache< unsigned int > > region_ids_
Vector gets ids of regions.
The class for outputting data during time.
std::shared_ptr< ElementDataCacheBase > OutputDataPtr