write a GridView to a DGF file
More...
#include <dune/grid/io/file/dgfparser/dgfwriter.hh>
|
| DGFWriter (const GridView &gridView) |
| constructor More...
|
|
void | write (std::ostream &gridout, const std::vector< Index > &newElemOrder, const std::stringstream &addParams=std::stringstream()) const |
| write the GridView into a std::ostream More...
|
|
void | write (std::ostream &gridout) const |
| write the GridView into a std::ostream More...
|
|
void | write (std::ostream &gridout, const std::stringstream &addParams) const |
| write the GridView into a std::ostream More...
|
|
void | write (const std::string &fileName) const |
| write the GridView to a file More...
|
|
|
void | writeAllElements (const std::vector< ElementSeed > &elementSeeds, const IndexSet &indexSet, const GeometryType &elementType, const std::vector< Index > &vertexIndex, std::ostream &gridout) const |
|
void | writeElement (const Element &element, const IndexSet &indexSet, const GeometryType &elementType, const std::vector< Index > &vertexIndex, std::ostream &gridout) const |
|
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
-
§ Grid
type of underlying hierarchical grid
§ GridView
§ DGFWriter()
constructor
- Parameters
-
[in] | gridView | grid view to operate on |
§ write() [1/4]
template<class GV >
void Dune::DGFWriter< GV >::write |
( |
std::ostream & |
gridout, |
|
|
const std::vector< Index > & |
newElemOrder, |
|
|
const std::stringstream & |
addParams = std::stringstream() |
|
) |
| const |
|
inline |
write the GridView into a std::ostream
- Parameters
-
gridout | std::ostream to write the grid to |
newElemOrder | vector providing a new ordering for the elements in the given GridView |
addParams | additional data to write to dgf file, such as projections etc. (defaults to an emoty data stream) |
§ write() [2/4]
write the GridView into a std::ostream
- Parameters
-
gridout | std::ostream to write the grid to |
§ write() [3/4]
template<class GV >
void Dune::DGFWriter< GV >::write |
( |
std::ostream & |
gridout, |
|
|
const std::stringstream & |
addParams |
|
) |
| const |
|
inline |
write the GridView into a std::ostream
- Parameters
-
gridout | std::ostream to write the grid to |
addParams | additional data to write to dgf file, such as projections etc. (defaults to an emoty data stream) |
§ write() [4/4]
write the GridView to a file
- Parameters
-
[in] | fileName | name of the write to write the grid to |
§ writeAllElements()
template<class GV >
void Dune::DGFWriter< GV >::writeAllElements |
( |
const std::vector< ElementSeed > & |
elementSeeds, |
|
|
const IndexSet & |
indexSet, |
|
|
const GeometryType & |
elementType, |
|
|
const std::vector< Index > & |
vertexIndex, |
|
|
std::ostream & |
gridout |
|
) |
| const |
|
inlineprotected |
§ writeElement()
template<class GV >
void Dune::DGFWriter< GV >::writeElement |
( |
const Element & |
element, |
|
|
const IndexSet & |
indexSet, |
|
|
const GeometryType & |
elementType, |
|
|
const std::vector< Index > & |
vertexIndex, |
|
|
std::ostream & |
gridout |
|
) |
| const |
|
inlineprotected |
§ dimGrid
§ gridView_
The documentation for this class was generated from the following file: