ViennaGrid - The Vienna Grid Library
2.1.0
|
The OpenDX writer object. Does not support segments - always the full mesh is written. More...
#include <opendx_writer.hpp>
Public Member Functions | |
template<typename T > | |
void | add_scalar_data_on_cells (T const accessor, std::string name) |
Adds scalar data on cells for writing to the OpenDX file. Note that vertex data has precedence. Only one quantity at a time is supported! | |
template<typename T > | |
void | add_scalar_data_on_vertices (T const accessor, std::string name) |
Adds scalar data on vertices for writing to the OpenDX file. Only one quantity at a time is supported! | |
void | operator() (MeshType const &mesh_obj, std::string const &filename) |
Triggers the writing of the mesh to a file. |
The OpenDX writer object. Does not support segments - always the full mesh is written.
MeshType | The ViennaGrid mesh. |
void add_scalar_data_on_cells | ( | T const | accessor, |
std::string | name | ||
) | [inline] |
Adds scalar data on cells for writing to the OpenDX file. Note that vertex data has precedence. Only one quantity at a time is supported!
void add_scalar_data_on_vertices | ( | T const | accessor, |
std::string | name | ||
) | [inline] |
Adds scalar data on vertices for writing to the OpenDX file. Only one quantity at a time is supported!
void operator() | ( | MeshType const & | mesh_obj, |
std::string const & | filename | ||
) | [inline] |
Triggers the writing of the mesh to a file.
mesh_obj | A ViennaGrid mesh |
filename | Name of the file |