|
dune-pdelab 2.9
|
Loading...
Searching...
No Matches
weightedsum.hh
Go to the documentation of this file.
int id()
auto genericTransformTuple(Tuple &&t, Functor &&f) -> decltype(genericTransformTupleBackend(t, f))
constexpr void forEach(Range &&range, F &&f)
decltype(auto) ifElse(const Condition &condition, IfFunc &&ifFunc, ElseFunc &&elseFunc)
constexpr decltype(auto) elementAt(Container &&c, Index &&i)
constexpr auto models()
std::shared_ptr< T > stackobject_to_shared_ptr(T &t)
auto require(C &c) -> decltype(Concept::requireType< typename C::weight_type >(), const_cast< C & >(c).weight())
WeightedSumLocalOperator(ArgPtrs &&lops, const Weights &weights_)
Definition weightedsum.hh:125
WeightedSumLocalOperator(Args &... lops_, const Weights &weights_=Weights(1))
Definition weightedsum.hh:112
FieldVector< K, sizeof...(Args)> Weights
Definition weightedsum.hh:35
WeightedSumLocalOperator(Args &&... lops_, const Weights &weights_=Weights(1))
Definition weightedsum.hh:119
WeightedSumLocalOperator(const Weights &weights_=Weights(1))
construct a WeightedSumLocalOperator
Definition weightedsum.hh:106
void setWeight(K w, std::size_t i)
set the weight for the i'th component of the sum
Definition weightedsum.hh:131
ArgPtrs lops
Definition combinedoperator.hh:35
std::tuple< Args &... > ArgRefs
Definition combinedoperator.hh:33
WeightedSumLocalOperator(const ArgRefs &lops_, const Weights &weights_=Weights(1))
construct a WeightedSumLocalOperator from a tuple of local operators
Definition weightedsum.hh:175
typename Base::ArgRefs ArgRefs
Definition weightedsum.hh:32
void setWeights(const FieldVector< K, sizeof...(FArgs)> &aweights, std::tuple< FArgs... > fargs) const
Definition weightedsum.hh:62
K getWeight(std::size_t i)
get the weight for the i'th component of the sum
Definition weightedsum.hh:135
void getWeights(FieldVector< K, sizeof...(FArgs)> &aweights, std::tuple< FArgs... > fargs) const
Definition weightedsum.hh:49
typename Base::ArgPtrs ArgPtrs
Definition weightedsum.hh:31
WeightedSumLocalOperator(const Weights &weights_=Weights(1))
construct a WeightedSumLocalOperator
Definition weightedsum.hh:168
void applyLops(F &&f, FArgs &... fargs) const
Definition weightedsum.hh:75
std::tuple< std::shared_ptr< std::remove_reference_t< Args > >... > ArgPtrs
Definition combinedoperator.hh:32
STL namespace.
For backward compatibility – Do not use this!
A local operator to take combine different local operators.
Definition combinedoperator.hh:30
A local operator to take the weighted sum of other local operators.
Definition weightedsum.hh:28
Definition weightedsum.hh:39
T forward_as_tuple(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8