#include <Tecplot_file.hpp>
Public Member Functions | |
Zone (Tecplot_file &, int n_nodes_arg, std::string name_arg) | |
Zone (const Zone &other)=delete | |
Zone & | operator= (const Zone &other)=delete |
virtual void | write (const double *pos, const double *vars) |
Protected Attributes | |
Tecplot_file & | file |
std::string | name |
int | n_nodes |
number of data points to write in each write() invokation | |
int | tecio_zone_index |
TecIO's zone index, which is not the same as i_zone and may not be unique for all time. | |
int | n_total_vars |
std::vector< int > | var_types |
std::vector< int > | shared |
std::vector< int > | location |
std::vector< int > | passive |
int | strand_id |
Manages a "zone", which essentially means a named chunk of data. Create derived classes to write data for some object of physical or mathematical significance.
|
virtual |
pos | pointer to position data in order [i_dim][i_node] |
vars | pointer to state (i.e. non-position) data in order [i_var][i_node]. If there are zero state variables, this pointer will never be dereferenced and therefore is allowed to be nullptr . |
Reimplemented in hexed::Tecplot_file::Line_segments, and hexed::Tecplot_file::Unstructured.