Class template Dune::GDT::ConstLincombOperator

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::ConstLincombOperator

Linear combination of const (non-modifiable) operators with scalar coefficients.

const RangeSpaceType &Dune::GDT::ConstLincombOperator::range_space() const final

\ {

Required by OperatorInterface.

bool Dune::GDT::ConstLincombOperator::linear() const final

No documentation provided.

void Dune::GDT::ConstLincombOperator::apply(SourceFunctionType source_function, VectorType &range_vector, const XT::Common::Parameter &param = <recovery-expr>({})) const final

No documentation provided.

const SourceSpaceType &Dune::GDT::ConstLincombOperator::source_space() const final

\ }

Required by OperatorInterface.

\ {

const AssemblyGridViewType &Dune::GDT::ConstLincombOperator::assembly_grid_view() const final

No documentation provided.

void Dune::GDT::ConstLincombOperator::apply(const VectorType &source_vector, VectorType &range_vector, const XT::Common::Parameter &param = <recovery-expr>({})) const final

No documentation provided.

int Dune::GDT::ConstLincombOperator::all_jacobian_options() const final

No documentation provided.

void Dune::GDT::ConstLincombOperator::jacobian(const VectorType &source_vector, MatrixOperatorType &jacobian_op, const XT::Common::Configuration &opts, const XT::Common::Parameter &param = <recovery-expr>({})) const override

No documentation provided.

size_t Dune::GDT::ConstLincombOperator::num_ops() const

\ }

These methods allow access to the summands of the linear combination

\ {

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

No documentation provided.

const FieldType &Dune::GDT::ConstLincombOperator::coeff(const size_t ii) const

No documentation provided.

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

\ }

These methods allow to add a summand to the linear combination

\ {

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

No documentation provided.

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

No documentation provided.

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

No documentation provided.

ThisType &Dune::GDT::ConstLincombOperator::operator*=(const FieldType &alpha)

\ }

These numeric operators extend the ones from OperatorInterface

\ {

ThisType &Dune::GDT::ConstLincombOperator::operator/=(const FieldType &alpha)

No documentation provided.

ThisType &Dune::GDT::ConstLincombOperator::operator+=(const BaseType &other)

No documentation provided.

ThisType &Dune::GDT::ConstLincombOperator::operator+=(const ThisType &other)

No documentation provided.

ThisType &Dune::GDT::ConstLincombOperator::operator-=(const BaseType &other)

No documentation provided.

ThisType &Dune::GDT::ConstLincombOperator::operator-=(const ThisType &other)

No documentation provided.

ConstLincombOperatorType Dune::GDT::ConstLincombOperator::operator*(const FieldType &alpha) const final

\ }

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

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

ConstLincombOperatorType Dune::GDT::ConstLincombOperator::operator/(const FieldType &alpha) const final

No documentation provided.

ConstLincombOperatorType Dune::GDT::ConstLincombOperator::operator+(const ConstLincombOperatorType &other) const final

Note

vector is interpreted as a ConstantOperator

See also: ConstantOperator

ConstLincombOperatorType Dune::GDT::ConstLincombOperator::operator+(const BaseType &other) const final

No documentation provided.

ConstLincombOperatorType Dune::GDT::ConstLincombOperator::operator-(const ConstLincombOperatorType &other) const final

Note

vector is interpreted as a ConstantOperator

See also: ConstantOperator

ConstLincombOperatorType Dune::GDT::ConstLincombOperator::operator-(const BaseType &other) const final

No documentation provided.

template<>
Dune::GDT::ConstLincombOperator::ConstLincombOperator<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::ConstLincombOperator::ConstLincombOperator<AGV, s_r, s_rC, r_r, r_rC, F, M, SGV, RGV>(const ThisType &other) = default

No documentation provided.

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

No documentation provided.

const AssemblyGridViewType &Dune::GDT::ConstLincombOperator::assembly_grid_view_

\ }

const SourceSpaceType &Dune::GDT::ConstLincombOperator::source_space_

No documentation provided.

const RangeSpaceType &Dune::GDT::ConstLincombOperator::range_space_

No documentation provided.

int Dune::GDT::ConstLincombOperator::keep_alive_

No documentation provided.

int Dune::GDT::ConstLincombOperator::const_ops_

No documentation provided.

int Dune::GDT::ConstLincombOperator::coeffs_

No documentation provided.

type Dune::GDT::ConstLincombOperator::ThisType

No documentation provided.

type Dune::GDT::ConstLincombOperator::BaseType

No documentation provided.

type Dune::GDT::ConstLincombOperator::OperatorType

No documentation provided.