Dune::DGFWriter< GV > Class Template Reference
[The Dune Grid Format (DGF)]

write a GridView to a DGF file More...

#include <dune/grid/io/file/dgfparser/dgfwriter.hh>

List of all members.

Public Types

typedef GV GridView
 type of grid view
typedef GridView::Grid Grid
 type of underlying hierarchical grid

Public Member Functions

 DGFWriter (const GridView &gridView)
 constructor
void write (std::ostream &gridout) const
 write the GridView into a std::ostreamm
void write (const std::string &fileName) const
 write the GridView to a file

Static Public Attributes

static const int dimGrid = GridView::dimension
 dimension of the grid

Detailed Description

template<class GV>
class Dune::DGFWriter< GV >

write a GridView to a DGF file

The DGFWriter allows create a DGF file from a given GridView. It allows for the easy creation of file format converters.

Template Parameters:
GV GridView to write in DGF format

Member Typedef Documentation

template<class GV>
typedef GridView::Grid Dune::DGFWriter< GV >::Grid

type of underlying hierarchical grid

template<class GV>
typedef GV Dune::DGFWriter< GV >::GridView

type of grid view


Constructor & Destructor Documentation

template<class GV>
Dune::DGFWriter< GV >::DGFWriter ( const GridView gridView  )  [inline]

constructor

Parameters:
[in] gridView grid view to operate on

Member Function Documentation

template<class GV >
void Dune::DGFWriter< GV >::write ( std::ostream &  gridout  )  const [inline]
template<class GV >
void Dune::DGFWriter< GV >::write ( const std::string &  fileName  )  const [inline]

write the GridView to a file

Parameters:
[in] fileName name of the write to write the grid to

References Dune::DGFWriter< GV >::write().


Member Data Documentation

template<class GV>
const int Dune::DGFWriter< GV >::dimGrid = GridView::dimension [static]

dimension of the grid

Referenced by Dune::DGFWriter< GV >::write().


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

Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].