AMDiS  2.10
The Adaptive Multi-Dimensional Simulation Toolbox
GlobalContext< GV > Class Template Reference

Public Types

enum  { dim = GridView::dimension, dow = GridView::dimensionworld }
 
using GridView = GV
 
using Element = typename GV::template Codim< 0 >::Entity
 
using Geometry = typename Element::Geometry
 

Public Member Functions

template<class E , class G >
 GlobalContext (GV const &gridView, E &&element, G &&geometry)
 Constructor. Stores a copy of gridView and a pointer to element and geometry.
 
GridView const & gridView () const
 Return the GridView this context is bound to.
 
Element const & element () const
 Return the bound element (entity of codim 0)
 
Geometry const & geometry () const
 Return the geometry of the Element.
 

The documentation for this class was generated from the following file: