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

Represents an arbitrary number of line segments. More...

#include <Tecplot_file.hpp>

Inheritance diagram for hexed::Tecplot_file::Line_segments:
hexed::Tecplot_file::Zone

Public Member Functions

 Line_segments (Tecplot_file &, int n_segs, int row_size, std::string name_arg="line_segments")
 
void write (const double *pos, const double *vars) override
 
- Public Member Functions inherited from hexed::Tecplot_file::Zone
 Zone (Tecplot_file &, int n_nodes_arg, std::string name_arg)
 
 Zone (const Zone &other)=delete
 
Zoneoperator= (const Zone &other)=delete
 

Additional Inherited Members

- Protected Attributes inherited from hexed::Tecplot_file::Zone
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

Represents an arbitrary number of line segments.

Each segment shall contain row_size nodes. Call write() once for each line segment.

Member Function Documentation

◆ write()

void hexed::Tecplot_file::Line_segments::write ( const double * pos,
const double * vars )
overridevirtual
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 from hexed::Tecplot_file::Zone.


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