18 #ifndef OUTPUT_VTK_HH_ 19 #define OUTPUT_VTK_HH_ 90 void init_from_input(
const std::string &equation_name,
const Input::Record &in_rec, std::string unit_str)
override;
99 VARIANT_BINARY_UNCOMPRESSED = 1,
100 VARIANT_BINARY_ZLIB = 2
110 VTK_TRIANGLE_STRIP = 6,
119 VTK_QUADRIC_EDGE = 21,
120 VTK_QUADRIC_TRIANGLE = 22,
121 VTK_QUADRIC_QUAD = 23,
122 VTK_QUADRIC_TETRA = 24,
123 VTK_QUADRIC_HEXAHEDRON = 25
129 VTK_TRIANGLE_SIZE = 3,
142 string form_vtu_filename_(
string basename,
int i_step,
int rank);
147 void write_vtk_vtu_head(
void);
152 std::shared_ptr<ElementDataCache<unsigned int>> fill_element_types_data();
168 void write_vtk_data_names(ofstream &file,
174 void write_vtk_node_data(
void);
179 void write_vtk_element_data(
void);
186 void write_vtk_native_data(
void);
191 void write_vtk_vtu_tail(
void);
197 void write_vtk_vtu(
void);
203 void make_subdirectory();
210 void compress_data(stringstream &uncompressed_stream, stringstream &compressed_stream);
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)