The OpenDX writer object. Does not support segments - always the full domain is written. More...
#include <opendx_writer.hpp>
Public Member Functions | |
int | operator() (DomainType const &domain, std::string const &filename) |
Triggers the writing of the domain to a file. | |
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! | |
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! |
The OpenDX writer object. Does not support segments - always the full domain is written.
DomainType | The ViennaGrid domain. |
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!
int operator() | ( | DomainType const & | domain, | |
std::string const & | filename | |||
) | [inline] |
Triggers the writing of the domain to a file.
domain | A ViennaGrid domain | |
filename | Name of the file |