18 #ifndef OUTPUT_VTK_HH_ 19 #define OUTPUT_VTK_HH_ 80 void init_from_input(
const std::string &equation_name,
Mesh &mesh,
const Input::Record &in_rec)
override;
89 VARIANT_BINARY_UNCOMPRESSED = 1,
90 VARIANT_BINARY_ZLIB = 2
100 VTK_TRIANGLE_STRIP = 6,
109 VTK_QUADRIC_EDGE = 21,
110 VTK_QUADRIC_TRIANGLE = 22,
111 VTK_QUADRIC_QUAD = 23,
112 VTK_QUADRIC_TETRA = 24,
113 VTK_QUADRIC_HEXAHEDRON = 25
119 VTK_TRIANGLE_SIZE = 3,
129 void write_vtk_vtu_head(
void);
134 std::shared_ptr<ElementDataCache<unsigned int>> fill_element_types_data();
150 void write_vtk_data_names(ofstream &file,
156 void write_vtk_node_data(
void);
161 void write_vtk_element_data(
void);
166 void write_vtk_vtu_tail(
void);
172 void write_vtk_vtu(
void);
178 void make_subdirectory();
185 void compress_data(stringstream &uncompressed_stream, stringstream &compressed_stream);
static const int registrar
Registrar of class to factory.
std::shared_ptr< ElementDataCacheBase > OutputDataPtr
string main_output_basename_
Basename of main output file (without extension)
string main_output_dir_
Main output file directory.
OutputTime FactoryBaseType
VTKVariant
The declaration enumeration used for variant of file VTK format.
ostringstream appended_data_
This class is used for output data to VTK file format.
The class for outputting data during time.
VTKVariant variant_type_
Output format (ascii, binary or binary compressed)