Represents a collection of triangles in 3D. More...
#include <Tecplot_file.hpp>
Public Member Functions | |
Triangles (Tecplot_file &, int n_triangles, std::string name_arg="triangles") | |
![]() | |
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) |
Additional Inherited Members | |
![]() | |
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 |
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.