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

Represents a collection of triangles in 3D. More...

#include <Tecplot_file.hpp>

Inheritance diagram for hexed::Tecplot_file::Triangles:
hexed::Tecplot_file::Zone

Public Member Functions

 Triangles (Tecplot_file &, int n_triangles, std::string name_arg="triangles")
 
- 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
 
virtual void write (const double *pos, const double *vars)
 

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 a collection of triangles in 3D.

These triangles are, in principle, unrelated. If they actually form a triangular mesh, no effort is made to exploit that fact. Call write() once for each triangle with the data for each of that triangle's nodes. Whether the order of the nodes within each element matters is between you and Tecplot – I just write them in the order you give them.


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