3#ifndef DUNE_PDELAB_LOCALOPERATOR_SUM_HH
4#define DUNE_PDELAB_LOCALOPERATOR_SUM_HH
24 template<
typename... Args>
28 template<
typename F,
typename... FArgs>
29 void applyLops(F && f, FArgs &... args)
const
31 Hybrid::forEach(std::make_index_sequence<
sizeof...(Args)>{},
32 [&](
auto i){f(*Hybrid::elementAt(this->
lops, i), args...);});
72 template<
typename... Args>
83 [[deprecated(
"The specialization InstationarySumLocalOperator<Tuple<...>> is"
84 "deprecated and will be removed after PDELab 2.7.")]]
90 [[deprecated(
"The specialization InstationarySumLocalOperator<Tuple<...>> is"
91 "deprecated and will be removed after PDELab 2.7.")]]
94 [](auto & l){
return stackobject_to_shared_ptr(l);}))
InstationarySumLocalOperator()
Default-construct an InstationarySumLocalOperator. Expects the operators to be added later through th...
Definition sum.hh:85
InstationarySumLocalOperator(const ArgRefs &lops)
construct a InstationarySumLocalOperator from a tuple of local operators
Definition sum.hh:92
ArgPtrs lops
Definition combinedoperator.hh:35
std::tuple< Args &... > ArgRefs
Definition combinedoperator.hh:33
InstationarySumLocalOperator(Args &&... lops)
construct a InstationarySumLocalOperator from a set of local operators (rvalue reference)
Definition sum.hh:54
InstationarySumLocalOperator(Args &... lops)
construct a InstationarySumLocalOperator from a set of local operators
Definition sum.hh:48
std::tuple< std::shared_ptr< std::remove_reference_t< Args > >... > ArgPtrs
Definition combinedoperator.hh:32
InstationarySumLocalOperator()
Default-construct an InstationarySumLocalOperator. Expects the operators to be added later through th...
Definition sum.hh:43
InstationarySumLocalOperator(ArgPtrs &&lops)
Definition sum.hh:59
For backward compatibility – Do not use this!
Definition adaptivity.hh:28
A local operator to take combine different local operators.
Definition combinedoperator.hh:30
A local operator to take the sum of other local operators.
Definition sum.hh:27