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;
42 using FEBasis =
typename GridGeometry::FEBasis;
43 using FEBasisLocalView =
typename FEBasis::LocalView;
47 using Element =
typename GridView::template Codim<0>::Entity;
52 , feBasisLocalView_(gg.feBasis().
localView())
58 feBasisLocalView_.bind(element);
67 {
return feBasisLocalView_; }
71 {
return gridGeometry_; }
74 const GridGeometry& gridGeometry_;
75 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:70
typename GridView::template Codim< 0 >::Entity Element
export type of the element
Definition: feelementgeometry.hh:47
void bind(const Element &element)
Prepare element-local data.
Definition: feelementgeometry.hh:56
FEElementGeometry(const GridGeometry &gg)
constructor taking grid geometry
Definition: feelementgeometry.hh:50
const FEBasisLocalView & feBasisLocalView() const
Return the finite element basis local view.
Definition: feelementgeometry.hh:66
void bindElement(const Element &element)
Prepare element-local data.
Definition: feelementgeometry.hh:62