Represents an arbitrary number of line segments. More...
#include <Tecplot_file.hpp>
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 | |
| Zone & | operator= (const Zone &other)=delete |
Additional Inherited Members | |
Protected Attributes inherited from hexed::Tecplot_file::Zone | |
| 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 an arbitrary number of line segments.
Each segment shall contain row_size nodes. Call write() once for each line segment.
|
overridevirtual |
| 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 from hexed::Tecplot_file::Zone.