Dune::AmiraMeshReader< UGGrid< 3 > > Class Template Reference
#include <amuggridreader.hh>
Detailed Description
template<>
class Dune::AmiraMeshReader< UGGrid< 3 > >
Read a 3d coarse grid from an AmiraMesh file into a UGGrid.
Static Public Member Functions | |
static void | read (UGGrid< 3 > &grid, const std::string &filename) |
Read a grid from an AmiraMesh file. | |
static void | read (UGGrid< 3 > &grid, const std::string &gridFilename, const std::string &domainFilename) |
Read a grid with a parametrized boundary. |
Member Function Documentation
static void Dune::AmiraMeshReader< UGGrid< 3 > >::read | ( | UGGrid< 3 > & | grid, | |
const std::string & | gridFilename, | |||
const std::string & | domainFilename | |||
) | [static] |
Read a grid with a parametrized boundary.
UGGrid supports grids where each grid boundary segment carries a function describing the true shape of the boundary segment. This information will the be considered when refining the grid.
In 'Sander, Krause, Automatic Construction of Boundary Parametrizations for Geometric Multigrid Solvers, CVS, 2005', the authors describe a way to automatically build such boundary descriptions. Their file format can be read by this routine to be used with a UGGrid.
- Attention:
- This is a somewhat experimental feature. To use it, you have to have the psurface library and build Dune with --with-psurface. Ask Oliver sander@math.fu-berlin.de for help.
- Parameters:
-
grid The grid to be read into gridFilename The AmiraMesh file containing the grid domainFilename The AmiraMesh file containing the boundary description
The documentation for this class was generated from the following file: