dune-grid
2.2.1
|
write a GridView to a DGF file More...
#include <dune/grid/io/file/dgfparser/dgfwriter.hh>
Public Types | |
typedef GV | GridView |
type of grid view More... | |
typedef GridView::Grid | Grid |
type of underlying hierarchical grid More... | |
Public Member Functions | |
DGFWriter (const GridView &gridView) | |
constructor More... | |
void | write (std::ostream &gridout) const |
write the GridView into a std::ostreamm More... | |
void | write (const std::string &fileName) const |
write the GridView to a file More... | |
Static Public Attributes | |
static const int | dimGrid = GridView::dimension |
dimension of the grid More... | |
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.
GV | GridView to write in DGF format |
typedef GridView::Grid Dune::DGFWriter< GV >::Grid |
type of underlying hierarchical grid
typedef GV Dune::DGFWriter< GV >::GridView |
type of grid view
|
inline |
constructor
[in] | gridView | grid view to operate on |
|
inline |
|
inline |
write the GridView to a file
[in] | fileName | name of the write to write the grid to |
|
static |
dimension of the grid