18 #ifndef OUTPUT_VTK_HH_ 19 #define OUTPUT_VTK_HH_ 78 void init_from_input(
const std::string &equation_name,
Mesh &mesh,
const Input::Record &in_rec)
override;
87 VARIANT_BINARY_UNCOMPRESSED = 1,
88 VARIANT_BINARY_ZLIB = 2
98 VTK_TRIANGLE_STRIP = 6,
107 VTK_QUADRIC_EDGE = 21,
108 VTK_QUADRIC_TRIANGLE = 22,
109 VTK_QUADRIC_QUAD = 23,
110 VTK_QUADRIC_TETRA = 24,
111 VTK_QUADRIC_HEXAHEDRON = 25
117 VTK_TRIANGLE_SIZE = 3,
127 void write_vtk_vtu_head(
void);
148 void write_vtk_data_names(ofstream &file,
154 void write_vtk_node_data(
void);
159 void write_vtk_element_data(
void);
164 void write_vtk_vtu_tail(
void);
170 void write_vtk_vtu(
void);
176 void make_subdirectory();
183 void compress_data(stringstream &uncompressed_stream, stringstream &compressed_stream);
static const int registrar
Registrar of class to factory.
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)
std::shared_ptr< OutputDataBase > OutputDataPtr