8 #ifndef SRC_IO_OUTPUT_MESH_DATA_HH_ 9 #define SRC_IO_OUTPUT_MESH_DATA_HH_ 15 #include <type_traits> 28 void print_ascii(std::ostream& out_stream,
unsigned int idx)
override;
39 void print_all_yaml(std::ostream& out_stream,
unsigned int precision)
override;
Common parent class for templated OutputData.
void print_ascii(std::ostream &out_stream, unsigned int idx) override
Prints idx element of data vector into stream.
void print_ascii_all(std::ostream &out_stream) override
Prints the whole data vector into stream.
MeshData(std::string name, NumCompValueType n_elem=N_SCALAR)
Constructor. name is the possible name of the output vector.
void print_binary_all(ostream &out_stream) override
Prints the whole data vector into stream.
T & operator[](unsigned int i)
Access i-th element in the data vector.
void print_all_yaml(std::ostream &out_stream, unsigned int precision) override
Prints the whole data vector into stream. UNSUPPORTED.
std::vector< T > data_
Data vector.
void get_min_max_range(double &min, double &max) override