ViennaGrid - The Vienna Grid Library  2.1.0
Public Member Functions
opendx_writer< MeshType > Class Template Reference

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.

Detailed Description

template<typename MeshType>
class viennagrid::io::opendx_writer< MeshType >

The OpenDX writer object. Does not support segments - always the full mesh is written.

Template Parameters:
MeshTypeThe ViennaGrid mesh.

Member Function Documentation

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.

Parameters:
mesh_objA ViennaGrid mesh
filenameName of the file

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