Dune Core Modules (2.9.0)

write a GridView to a DGF file More...

#include <dune/alugrid/common/writeparalleldgf.hh>

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 More...
 
template<class LoadBalanceHandle >
std::string write (const std::string &fileName, const LoadBalanceHandle &ldb, const int size, const int rank) const
 write the GridView to a file More...
 

Static Public Attributes

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

Detailed Description

template<class GV>
class 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
GVGridView to write in DGF format

Constructor & Destructor Documentation

◆ DGFWriter()

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

constructor

Parameters
[in]gridViewgrid view to operate on

Member Function Documentation

◆ write()

template<class GV >
template<class LoadBalanceHandle >
std::string DGFWriter< GV >::write ( const std::string &  fileName,
const LoadBalanceHandle &  ldb,
const int  size,
const int  rank 
) const
inline

write the GridView to a file

Parameters
[in]fileNamename of the write to write the grid to

The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (Apr 26, 22:29, 2024)