DUNE PDELab (git)
gridfunctionadapter.hh
Adapter returning f1(x)-f2(x) for two given grid functions.
Definition: gridfunctionadapter.hh:24
DifferenceAdapter(const T1 &t1_, const T2 &t2_)
constructor
Definition: gridfunctionadapter.hh:31
void evaluate(const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const
Evaluate the GridFunction at given position.
Definition: gridfunctionadapter.hh:34
Adapter returning ||f1(x)-f2(x)||^2 for two given grid functions.
Definition: gridfunctionadapter.hh:70
DifferenceSquaredAdapter(const T1 &t1_, const T2 &t2_)
constructor
Definition: gridfunctionadapter.hh:77
void evaluate(const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const
Evaluate the GridFunction at given position.
Definition: gridfunctionadapter.hh:80
R RangeType
range type
Definition: function.hh:62
traits class holding the function signature, same as in local function
Definition: function.hh:183
GV::Traits::template Codim< 0 >::Entity ElementType
codim 0 entity
Definition: function.hh:119
GV GridViewType
The type of the grid view the function lives on.
Definition: function.hh:116
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 23, 23:29, 2024)