25#ifndef DUMUX_DISCRETIZATION_FE_ELEMENT_GEOMETRY_HH
26#define DUMUX_DISCRETIZATION_FE_ELEMENT_GEOMETRY_HH
37template<
class Gr
idGeometry>
40 using GridView =
typename GridGeometry::GridView;
41 using Element =
typename GridView::template Codim<0>::Entity;
43 using FEBasis =
typename GridGeometry::FEBasis;
44 using FEBasisLocalView =
typename FEBasis::LocalView;
50 , feBasisLocalView_(gg.feBasis().
localView())
54 void bind(
const Element& element)
56 feBasisLocalView_.bind(element);
65 {
return feBasisLocalView_; }
69 {
return gridGeometry_; }
72 const GridGeometry& gridGeometry_;
73 FEBasisLocalView feBasisLocalView_;
GridCache::LocalView localView(const GridCache &gridCache)
Free function to get the local view of a grid cache object.
Definition: localview.hh:38
Grid geometry local view, which is a wrapper around a finite element basis local view.
Definition: feelementgeometry.hh:39
const GridGeometry & gridGeometry() const
Return reference to the grid geometry.
Definition: feelementgeometry.hh:68
void bind(const Element &element)
Prepare element-local data.
Definition: feelementgeometry.hh:54
FEElementGeometry(const GridGeometry &gg)
constructor taking grid geometry
Definition: feelementgeometry.hh:48
const FEBasisLocalView & feBasisLocalView() const
Return the finite element basis local view.
Definition: feelementgeometry.hh:64
void bindElement(const Element &element)
Prepare element-local data.
Definition: feelementgeometry.hh:60