write a GridView to a DGF file
More...
#include <dune/alugrid/common/writeparalleldgf.hh>
|
typedef GV | GridView |
| type of grid view
|
|
typedef GridView::Grid | Grid |
| type of underlying hierarchical grid
|
|
|
| DGFWriter (const GridView &gridView) |
| constructor
|
|
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
|
|
template<class LoadBalanceHandle > |
void | write (const std::string &fileName, const LoadBalanceHandle &ldb, const int size) const |
|
|
static const int | dimGrid = GridView::dimension |
| dimension of the grid
|
|
|
void | writeElement (const Element &element, const IndexSet &indexSet, const Dune::GeometryType &elementType, const std::vector< Index > &vertexIndex, std::ostream &gridout) const |
|
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
-
GV | GridView to write in DGF format |
◆ Grid
type of underlying hierarchical grid
◆ GridView
◆ DGFWriter()
constructor
- Parameters
-
[in] | gridView | grid view to operate on |
◆ write() [1/2]
template<class GV >
template<class LoadBalanceHandle >
void DGFWriter< GV >::write |
( |
const std::string & |
fileName, |
|
|
const LoadBalanceHandle & |
ldb, |
|
|
const int |
size |
|
) |
| const |
|
inline |
◆ write() [2/2]
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] | fileName | name of the write to write the grid to |
◆ writeElement()
template<class GV >
void DGFWriter< GV >::writeElement |
( |
const Element & |
element, |
|
|
const IndexSet & |
indexSet, |
|
|
const Dune::GeometryType & |
elementType, |
|
|
const std::vector< Index > & |
vertexIndex, |
|
|
std::ostream & |
gridout |
|
) |
| const |
|
inlineprotected |
◆ dimGrid
template<class GV >
const int DGFWriter< GV >::dimGrid = GridView::dimension |
|
static |
◆ gridView_
The documentation for this class was generated from the following file: