Flow123d
JS_before_hm-2154-g185f171e0
|
Go to the documentation of this file.
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_;
void write_corner_data(OutputDataPtr output_data)
writes ElementNode data ascii GMSH (.msh) output file.
void write_msh_geometry(void)
This function writes geometry (position of nodes) to GMSH (.msh) file format.
OutputMSH()
The constructor of this class. We open the output file in first call of write_data.
int write_head(void)
This method writes head 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...
std::vector< std::vector< OutputDataPtr > > dummy_data_list_
std::shared_ptr< ElementDataCache< unsigned int > > elem_ids_
Vector gets ids of elements.
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.
static const int registrar
Registrar of class to factory.
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.
The class for outputting data during time.
void fix_base_file_name(void)
This method add right suffix to .msh GMSH file.
std::shared_ptr< ElementDataCache< int > > partitions_
Vector gets partitions of elements.
int write_data(void)
This method writes data to GMSH (.msh) file format for current time.
This class is used for output data to VTK file format.
void set_output_data_caches(std::shared_ptr< OutputMeshBase > mesh_ptr) override
OutputTime FactoryBaseType
std::shared_ptr< ElementDataCacheBase > OutputDataPtr
void write_msh_header(void)
This function write header of GMSH (.msh) file format.
static const Input::Type::Record & get_input_type()
The definition of input record for gmsh file format.
std::shared_ptr< ElementDataCache< unsigned int > > node_ids_
Vector gets ids of nodes.
~OutputMSH()
The destructor of this class.
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...
int write_tail(void)
This method should write tail of GMSH (.msh) file format.