ViennaGrid - The Vienna Grid Library  2.1.0
Public Member Functions
mphtxt_writer Class Reference

Writer for Comsol .mphtxt files. More...

#include <mphtxt_writer.hpp>

Public Member Functions

template<typename MeshT , typename SegmentationT >
void operator() (MeshT const &mesh, SegmentationT const &segmentation, std::string const &filename) const
 The functor interface triggering the read operation. Segmentations are not supported in this version.

Detailed Description

Writer for Comsol .mphtxt files.

See http://chemelab.ucsd.edu/CAPE/comsol/Comsol_Reference.pdf, page 396-441 for a description of the file format


Member Function Documentation

void operator() ( MeshT const &  mesh,
SegmentationT const &  segmentation,
std::string const &  filename 
) const [inline]

The functor interface triggering the read operation. Segmentations are not supported in this version.

Parameters:
meshThe mesh which is to be written
segmentationThe segmentation which is to be written
filenameName of the file

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