Flow123d
JS_before_hm-2127-g0296217bc
|
Go to the documentation of this file.
18 #ifndef OUTPUT_VTK_HH_
19 #define OUTPUT_VTK_HH_
91 void init_from_input(
const std::string &equation_name,
93 const std::shared_ptr<TimeUnitConversion>& time_unit_conv)
override;
102 VARIANT_BINARY_UNCOMPRESSED = 1,
103 VARIANT_BINARY_ZLIB = 2
113 VTK_TRIANGLE_STRIP = 6,
122 VTK_QUADRIC_EDGE = 21,
123 VTK_QUADRIC_TRIANGLE = 22,
124 VTK_QUADRIC_QUAD = 23,
125 VTK_QUADRIC_TETRA = 24,
126 VTK_QUADRIC_HEXAHEDRON = 25
132 VTK_TRIANGLE_SIZE = 3,
145 string form_vtu_filename_(
string basename,
int i_step,
int rank);
150 void write_vtk_vtu_head(
void);
155 std::shared_ptr<ElementDataCache<unsigned int>> fill_element_types_data();
165 void write_vtk_data(
OutputDataPtr output_data,
unsigned int start = 0);
171 void write_vtk_data_names(ofstream &file,
177 void write_vtk_node_data(
void);
182 void write_vtk_element_data(
void);
189 void write_vtk_native_data(
void);
194 void write_vtk_vtu_tail(
void);
200 void write_vtk_vtu(
void);
206 void make_subdirectory();
213 void compress_data(stringstream &uncompressed_stream, stringstream &compressed_stream);
static const int registrar
Registrar of class to factory.
VTKVariant
The declaration enumeration used for variant of file VTK format.
string main_output_dir_
Main output file directory.
static const std::vector< std::string > formats
Formats of DataArray section.
This class is used for output data to VTK file format.
Helper class storing unit conversion coefficient and functionality for conversion of units.
OutputTime FactoryBaseType
string main_output_basename_
Basename of main output file (without extension)
The class for outputting data during time.
std::shared_ptr< ElementDataCacheBase > OutputDataPtr
VTKVariant variant_type_
Output format (ascii, binary or binary compressed)
ostringstream appended_data_