DUNE PDELab (2.8)
Dune::PDELab::ConstBoundaryGridFunction< GV, RF, dimR > Class Template Reference
BoundaryGridFunction returning a constant value everywhere. More...
#include <dune/pdelab/function/const.hh>
Public Types | |
typedef BoundaryGridFunctionTraits< GV, RF, dimR, FieldVector< RF, dimR > > | Traits |
export Traits class | |
typedef T::GridViewType | GridViewType |
Type of the GridView. | |
typedef LeafNodeTag | NodeTag |
The type tag that describes a LeafNode. | |
Public Member Functions | |
ConstBoundaryGridFunction (const GV &gv_, const typename Traits::RangeType &val_=1) | |
Contruct a ConstBoundaryGridFunction. More... | |
template<typename I > | |
void | evaluate (const IntersectionGeometry< I > &ig, const typename Traits::DomainType &x, typename Traits::RangeType &y) const |
evaluate the function More... | |
const GV & | getGridView () const |
get a reference to the GridView | |
Static Public Attributes | |
static const bool | isLeaf = true |
Mark this class as a leaf in a dune-typetree. | |
static const bool | isPower = false |
Mark this class as a non power in the dune-typetree. | |
static const bool | isComposite = false |
Mark this class as a non composite in the dune-typetree. | |
static const std::size_t | CHILDREN = 0 |
Leafs have no children. | |
Detailed Description
template<typename GV, typename RF, unsigned dimR = 1>
class Dune::PDELab::ConstBoundaryGridFunction< GV, RF, dimR >
class Dune::PDELab::ConstBoundaryGridFunction< GV, RF, dimR >
BoundaryGridFunction returning a constant value everywhere.
- Template Parameters
-
GV The type of the GridView RF The type of the range field dimRange The dimension of the Range
Constructor & Destructor Documentation
◆ ConstBoundaryGridFunction()
template<typename GV , typename RF , unsigned dimR = 1>
|
inline |
Contruct a ConstBoundaryGridFunction.
- Parameters
-
gv_ The GridView to use. This class stores a copy of it. val_ The value tu return on evaluation. This class stores a copy of that value.
Member Function Documentation
◆ evaluate()
template<typename GV , typename RF , unsigned dimR = 1>
template<typename I >
|
inline |
evaluate the function
- Template Parameters
-
I Type of intersection
- Parameters
-
ig IntersectionGeometry of this boundary intersection. x Position in local coordinates where to evaluate. y The resulting value.
The documentation for this class was generated from the following file:
- dune/pdelab/function/const.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 22, 23:30, 2024)