free functions for the evaluation of primary variables inside elements.
#include <iterator>#include <algorithm>#include <type_traits>#include <memory>#include <dune/localfunctions/lagrange/pqkfactory.hh>#include <dumux/common/typetraits/state.hh>#include <dumux/common/typetraits/isvalid.hh>#include <dumux/discretization/method.hh>#include <dumux/discretization/cvfe/elementsolution.hh>#include <dumux/discretization/cellcentered/elementsolution.hh>Go to the source code of this file.
| Namespaces | |
| namespace | Dumux | 
| namespace | Dumux::Detail | 
| Distance implementation details. | |
| Functions | |
| template<class ElementSolution> | |
| bool | Dumux::Detail::allStatesEqual (const ElementSolution &elemSol, std::true_type hasState) | 
| returns true if all states in an element solution are the same | |
| template<class ElementSolution> | |
| bool | Dumux::Detail::allStatesEqual (const ElementSolution &elemSol, std::false_type hasState) | 
| overload if the solution is stateless | |
| template<class Geometry, class ElementSolution> | |
| auto | Dumux::Detail::minDistVertexSol (const Geometry &geometry, const typename Geometry::GlobalCoordinate &globalPos, const ElementSolution &elemSol) | 
| return the solution at the closest dof | |
| template<class Element, class GridGeometry, class CVFEElemSol> | |
| CVFEElemSol::PrimaryVariables | Dumux::Detail::evalCVFESolution (const Element &element, const typename Element::Geometry &geometry, const GridGeometry &gridGeometry, const CVFEElemSol &elemSol, const typename Element::Geometry::GlobalCoordinate &globalPos, bool ignoreState=false) | 
| Interpolates a given control-volume finite element solution at a given global position. Uses the finite element cache of the grid geometry. | |
| template<class Element, class FVElementGeometry, class PrimaryVariables> | |
| PrimaryVariables | Dumux::evalSolution (const Element &element, const typename Element::Geometry &geometry, const typename FVElementGeometry::GridGeometry &gridGeometry, const CVFEElementSolution< FVElementGeometry, PrimaryVariables > &elemSol, const typename Element::Geometry::GlobalCoordinate &globalPos, bool ignoreState=false) | 
| Interpolates a given box element solution at a given global position. Uses the finite element cache of the grid geometry. | |
| template<class Element, class FVElementGeometry, class PrimaryVariables> | |
| PrimaryVariables | Dumux::evalSolution (const Element &element, const typename Element::Geometry &geometry, const CVFEElementSolution< FVElementGeometry, PrimaryVariables > &elemSol, const typename Element::Geometry::GlobalCoordinate &globalPos, bool ignoreState=false) | 
| Interpolates a given box element solution at a given global position. | |
| template<class Element, class FVElementGeometry, class PrimaryVariables> | |
| PrimaryVariables | Dumux::evalSolution (const Element &element, const typename Element::Geometry &geometry, const typename FVElementGeometry::GridGeometry &gridGeometry, const CCElementSolution< FVElementGeometry, PrimaryVariables > &elemSol, const typename Element::Geometry::GlobalCoordinate &globalPos, bool ignoreState=false) | 
| Interpolates a given cell-centered element solution at a given global position. | |
| template<class Element, class FVElementGeometry, class PrimaryVariables> | |
| PrimaryVariables | Dumux::evalSolution (const Element &element, const typename Element::Geometry &geometry, const CCElementSolution< FVElementGeometry, PrimaryVariables > &elemSol, const typename Element::Geometry::GlobalCoordinate &globalPos, bool ignoreState=false) | 
| Interpolates a given cell-centered element solution at a given global position. Overload of the above evalSolution() function without a given gridGeometry. For compatibility reasons with the box scheme. | |