Dune::AmiraMeshReader< UGGrid< 2 > > Class Template Reference
#include <amuggridreader.hh>
Detailed Description
template<>
class Dune::AmiraMeshReader< UGGrid< 2 > >
Read a 2d coarse grid from an AmiraMesh file into a UGGrid.
- Warning:
- UG internally requires that the coarse grid vertices are ordered such that the vertex list contains first all boundary vertices and the all interior vertices. If the input data file is not already set up this way, the reader will reorder your vertices!
Static Public Member Functions | |
static void | read (UGGrid< 2 > &grid, const std::string &filename) |
Read a grid. | |
static void | read (UGGrid< 2 > &grid, const std::string &gridFilename, const std::string &domainFilename) |
Dummy method: read a grid together with a boundary parametrization. |
Member Function Documentation
static void Dune::AmiraMeshReader< UGGrid< 2 > >::read | ( | UGGrid< 2 > & | grid, | |
const std::string & | gridFilename, | |||
const std::string & | domainFilename | |||
) | [inline, static] |
Dummy method: read a grid together with a boundary parametrization.
This method is the equivalent to the one in the 3,3-instantiation. You cannot currently store 2d parametrized boundaries in an AmiraMesh file. Thus, the methods only throws an exception. It is only here to avoid compiler errors.
- 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: