ViennaGrid - The Vienna Grid Library  2.1.0
Public Member Functions | Data Fields
vmesh_writer< MeshType, SegmentationType > Class Template Reference

Main VMesh writer class. Writes a mesh or a segment to a file. More...

#include <vmesh_writer.hpp>

Public Member Functions

void operator() (MeshType const &mesh_obj, SegmentationType const &segmentation, std::string const &inputfile, std::string const &outputfile)
 Triggers the write process to a *.vmesh file.
 vmesh_writer ()

Data Fields

std::string empty_
std::string indent_

Detailed Description

template<typename MeshType, typename SegmentationType = typename viennagrid::result_of::segmentation<MeshType>::type>
class viennagrid::io::vmesh_writer< MeshType, SegmentationType >

Main VMesh writer class. Writes a mesh or a segment to a file.

Template Parameters:
MeshTypeType of the ViennaGrid mesh.
SegmentationTypeType of the ViennaGrid segmentation. Default is the default segmentation of MeshType

Constructor & Destructor Documentation

vmesh_writer ( ) [inline]

Member Function Documentation

void operator() ( MeshType const &  mesh_obj,
SegmentationType const &  segmentation,
std::string const &  inputfile,
std::string const &  outputfile 
) [inline]

Triggers the write process to a *.vmesh file.

Parameters:
mesh_objThe ViennaGrid mesh
segmentationThe ViennaGrid segmentation.
inputfileThe inputfile path
outputfileThe outputfile path

Field Documentation

std::string empty_
std::string indent_

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