Class template Dune::GDT::LincombOperator

template<class AGV, size_t s_r, size_t s_rC, size_t r_r, size_t r_rC, class F, class M, class SGV, class RGV>
class Dune::GDT::LincombOperator

Linear combination of mutable operators with scalar coefficients (additionally provides assemble()).

void Dune::GDT::LincombOperator::assemble(const bool use_tbb = false) final

\ {

Required by BilinearFormInterface.

OperatorType &Dune::GDT::LincombOperator::op(const size_t ii)

\ }

These methods extend the ones from ConstLincombOperator

\ {

void Dune::GDT::LincombOperator::add(OperatorType &op, const FieldType &coeff = 1.)

No documentation provided.

void Dune::GDT::LincombOperator::add(OperatorType *&&op, const FieldType &coeff = 1.)

No documentation provided.

void Dune::GDT::LincombOperator::add(ThisType &op, const FieldType &coeff = 1.)

No documentation provided.

void Dune::GDT::LincombOperator::add(ThisType *&&op, const FieldType &coeff = 1.)

No documentation provided.

ThisType &Dune::GDT::LincombOperator::operator+=(ThisType &other)

\ }

These numeric operators override the ones from ConstLincombOperator to keep track of the mutable ops

\ {

ThisType &Dune::GDT::LincombOperator::operator-=(ThisType &other)

No documentation provided.

LincombOperatorType Dune::GDT::LincombOperator::operator*(const FieldType &alpha) final

\ }

These numeric operators override the mutable ones from OperatorInterface to avoid segfaults due to

temporaries (which we achieve since *this has the correct type here to select the correct add) \ {

LincombOperatorType Dune::GDT::LincombOperator::operator/(const FieldType &alpha) final

No documentation provided.

LincombOperatorType Dune::GDT::LincombOperator::operator+(LincombOperatorType &other) final

No documentation provided.

LincombOperatorType Dune::GDT::LincombOperator::operator+(const VectorType &vector) final

Note

vector is interpreted as a ConstantOperator

See also: ConstantOperator

LincombOperatorType Dune::GDT::LincombOperator::operator-(LincombOperatorType &other) final

No documentation provided.

LincombOperatorType Dune::GDT::LincombOperator::operator-(const VectorType &vector) final

Note

vector is interpreted as a ConstantOperator

See also: ConstantOperator

template<>
Dune::GDT::LincombOperator::LincombOperator<AGV, s_r, s_rC, r_r, r_rC, F, M, SGV, RGV>(const AssemblyGridViewType &assembly_grid_vw, const SourceSpaceType &src_space, const RangeSpaceType &rng_space, const std::string &logging_prefix = <recovery-expr>(""), const std::array<bool, 3> &logging_enabled = <recovery-expr>())

No documentation provided.

template<>
Dune::GDT::LincombOperator::LincombOperator<AGV, s_r, s_rC, r_r, r_rC, F, M, SGV, RGV>(ThisType &other) = default

No documentation provided.

template<>
Dune::GDT::LincombOperator::LincombOperator<AGV, s_r, s_rC, r_r, r_rC, F, M, SGV, RGV>(ThisType &&source) noexcept = default

No documentation provided.

int Dune::GDT::LincombOperator::ops_
type Dune::GDT::LincombOperator::ThisType

No documentation provided.

type Dune::GDT::LincombOperator::BaseType

No documentation provided.