18 #ifndef OUTPUT_VTK_HH_ 19 #define OUTPUT_VTK_HH_ 82 void init_from_input(
const std::string &equation_name,
const Input::Record &in_rec)
override;
91 VARIANT_BINARY_UNCOMPRESSED = 1,
92 VARIANT_BINARY_ZLIB = 2
102 VTK_TRIANGLE_STRIP = 6,
111 VTK_QUADRIC_EDGE = 21,
112 VTK_QUADRIC_TRIANGLE = 22,
113 VTK_QUADRIC_QUAD = 23,
114 VTK_QUADRIC_TETRA = 24,
115 VTK_QUADRIC_HEXAHEDRON = 25
121 VTK_TRIANGLE_SIZE = 3,
134 string form_vtu_filename_(
string basename,
int i_step,
int rank);
139 void write_vtk_vtu_head(
void);
144 std::shared_ptr<ElementDataCache<unsigned int>> fill_element_types_data();
160 void write_vtk_data_names(ofstream &file,
166 void write_vtk_node_data(
void);
171 void write_vtk_element_data(
void);
178 void write_vtk_native_data(
void);
183 void write_vtk_vtu_tail(
void);
189 void write_vtk_vtu(
void);
195 void make_subdirectory();
202 void compress_data(stringstream &uncompressed_stream, stringstream &compressed_stream);
Base class for Output mesh.
static const std::vector< std::string > formats
Formats of DataArray section.
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)