3.6-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Public Member Functions | List of all members
Dumux::FEElementGeometry< GridGeometry > Class Template Reference

Grid geometry local view, which is a wrapper around a finite element basis local view. More...

#include <dumux/discretization/fem/feelementgeometry.hh>

Description

template<class GridGeometry>
class Dumux::FEElementGeometry< GridGeometry >

Grid geometry local view, which is a wrapper around a finite element basis local view.

Template Parameters
Thegrid geometry type
TheFEBasis local view

Public Types

using Element = typename GridView::template Codim< 0 >::Entity
 export type of the element More...
 

Public Member Functions

 FEElementGeometry (const GridGeometry &gg)
 constructor taking grid geometry More...
 
FEElementGeometry bind (const Element &element) &&
 bind the local view (r-value overload) This overload is called when an instance of this class is a temporary in the usage context This allows a usage like this: const auto view = localView(...).bind(element); More...
 
void bind (const Element &element) &
 Prepare element-local data. More...
 
FEElementGeometry bindElement (const Element &element) &&
 bind the local view (r-value overload) This overload is called when an instance of this class is a temporary in the usage context This allows a usage like this: const auto view = localView(...).bindElement(element); More...
 
void bindElement (const Element &element) &
 Prepare element-local data. More...
 
bool isBound () const
 Returns true if bind/bindElement has already been called. More...
 
const Elementelement () const
 The bound element. More...
 
const FEBasisLocalView & feBasisLocalView () const
 Return the finite element basis local view. More...
 
const GridGeometry & gridGeometry () const
 Return reference to the grid geometry. More...
 

Member Typedef Documentation

◆ Element

template<class GridGeometry >
using Dumux::FEElementGeometry< GridGeometry >::Element = typename GridView::template Codim<0>::Entity

export type of the element

Constructor & Destructor Documentation

◆ FEElementGeometry()

template<class GridGeometry >
Dumux::FEElementGeometry< GridGeometry >::FEElementGeometry ( const GridGeometry &  gg)
inline

constructor taking grid geometry

Member Function Documentation

◆ bind() [1/2]

template<class GridGeometry >
void Dumux::FEElementGeometry< GridGeometry >::bind ( const Element element) &
inline

Prepare element-local data.

◆ bind() [2/2]

template<class GridGeometry >
FEElementGeometry Dumux::FEElementGeometry< GridGeometry >::bind ( const Element element) &&
inline

bind the local view (r-value overload) This overload is called when an instance of this class is a temporary in the usage context This allows a usage like this: const auto view = localView(...).bind(element);

◆ bindElement() [1/2]

template<class GridGeometry >
void Dumux::FEElementGeometry< GridGeometry >::bindElement ( const Element element) &
inline

Prepare element-local data.

◆ bindElement() [2/2]

template<class GridGeometry >
FEElementGeometry Dumux::FEElementGeometry< GridGeometry >::bindElement ( const Element element) &&
inline

bind the local view (r-value overload) This overload is called when an instance of this class is a temporary in the usage context This allows a usage like this: const auto view = localView(...).bindElement(element);

◆ element()

template<class GridGeometry >
const Element & Dumux::FEElementGeometry< GridGeometry >::element ( ) const
inline

The bound element.

◆ feBasisLocalView()

template<class GridGeometry >
const FEBasisLocalView & Dumux::FEElementGeometry< GridGeometry >::feBasisLocalView ( ) const
inline

Return the finite element basis local view.

◆ gridGeometry()

template<class GridGeometry >
const GridGeometry & Dumux::FEElementGeometry< GridGeometry >::gridGeometry ( ) const
inline

Return reference to the grid geometry.

◆ isBound()

template<class GridGeometry >
bool Dumux::FEElementGeometry< GridGeometry >::isBound ( ) const
inline

Returns true if bind/bindElement has already been called.


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