hexed 0.3.0
 
Loading...
Searching...
No Matches
hexed::Tecplot_file::Zone Class Reference

#include <Tecplot_file.hpp>

Inheritance diagram for hexed::Tecplot_file::Zone:
hexed::Tecplot_file::Line_segments hexed::Tecplot_file::Structured_block hexed::Tecplot_file::Triangles hexed::Tecplot_file::Unstructured

Public Member Functions

 Zone (Tecplot_file &, int n_nodes_arg, std::string name_arg)
 
 Zone (const Zone &other)=delete
 
Zoneoperator= (const Zone &other)=delete
 
virtual void write (const double *pos, const double *vars)
 

Protected Attributes

Tecplot_filefile
 
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
 

Detailed Description

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.

Member Function Documentation

◆ write()

void hexed::Tecplot_file::Zone::write ( const double * pos,
const double * vars )
virtual
Parameters
pospointer to position data in order [i_dim][i_node]
varspointer 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.


The documentation for this class was generated from the following files: