18 #ifndef OUTPUT_VTK_HH_
19 #define OUTPUT_VTK_HH_
88 void init_from_input(
const std::string &equation_name,
const Input::Record &in_rec, std::string unit_str)
override;
97 VARIANT_BINARY_UNCOMPRESSED = 1,
98 VARIANT_BINARY_ZLIB = 2
108 VTK_TRIANGLE_STRIP = 6,
117 VTK_QUADRIC_EDGE = 21,
118 VTK_QUADRIC_TRIANGLE = 22,
119 VTK_QUADRIC_QUAD = 23,
120 VTK_QUADRIC_TETRA = 24,
121 VTK_QUADRIC_HEXAHEDRON = 25
127 VTK_TRIANGLE_SIZE = 3,
140 string form_vtu_filename_(
string basename,
int i_step,
int rank);
145 void write_vtk_vtu_head(
void);
150 std::shared_ptr<ElementDataCache<unsigned int>> fill_element_types_data();
166 void write_vtk_data_names(ofstream &file,
172 void write_vtk_node_data(
void);
177 void write_vtk_element_data(
void);
184 void write_vtk_native_data(
void);
189 void write_vtk_vtu_tail(
void);
195 void write_vtk_vtu(
void);
201 void make_subdirectory();
208 void compress_data(stringstream &uncompressed_stream, stringstream &compressed_stream);