|
| GridFactoryBase () |
| Default constructor.
|
|
| GridFactoryBase (FoamGrid< dimgrid, dimworld, ctype > *grid) |
| Constructor for a given grid object.
|
|
| ~GridFactoryBase () override |
| Destructor.
|
|
void | insertVertex (const FieldVector< ctype, dimworld > &pos) override |
| Insert a vertex into the coarse grid.
|
|
unsigned int | insertionIndex (const typename FoamGrid< dimgrid, dimworld, ctype >::Traits::template Codim< 0 >::Entity &entity) const override |
| Obtain an element's insertion index.
|
|
unsigned int | insertionIndex (const typename FoamGrid< dimgrid, dimworld, ctype >::Traits::template Codim< dimgrid >::Entity &vertex) const override |
| Obtain a vertex' insertion index.
|
|
unsigned int | insertionIndex (const typename FoamGrid< dimgrid, dimworld, ctype >::LeafIntersection &intersection) const override |
| Obtain a boundary's insertion index.
|
|
template<int dimgrid, int dimworld, class ct>
class Dune::GridFactoryBase< dimgrid, dimworld, ct >
Specialization of the generic GridFactory for FoamGrid<dimgrid, dimworld>
template<int dimgrid, int dimworld, class ct >
Constructor for a given grid object.
If you already have your grid object constructed you can hand it over using this constructor.
If you construct your factory class using this constructor the pointer handed over to you by the method createGrid() is the one you supplied here.