Class template Dune::GDT::ConstantOperator

Inherits from Dune::GDT::OperatorInterface.

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::ConstantOperator<AGV, s_r, s_rC, r_r, r_rC, F, M, SGV, RGV> : public OperatorInterface<AGV, s_r, s_rC, r_r, r_rC, F, M, SGV, RGV>

Operator that always assigns a fixed, constant value to the range vector.

Method Dune::GDT::ConstantOperator::range_space

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>
const RangeSpaceType &Dune::GDT::ConstantOperator<AGV, s_r, s_rC, r_r, r_rC, F, M, SGV, RGV>::range_space() const final override

\ {

Required by ForwardOperatorInterface.

Method Dune::GDT::ConstantOperator::linear

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>
bool Dune::GDT::ConstantOperator<AGV, s_r, s_rC, r_r, r_rC, F, M, SGV, RGV>::linear() const final override

No documentation provided.

Method Dune::GDT::ConstantOperator::apply

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>
void Dune::GDT::ConstantOperator<AGV, s_r, s_rC, r_r, r_rC, F, M, SGV, RGV>::apply(SourceFunctionType source_function, VectorType &range_vector, const XT::Common::Parameter &param) const final override

No documentation provided.

Method Dune::GDT::ConstantOperator::source_space

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>
const SourceSpaceType &Dune::GDT::ConstantOperator<AGV, s_r, s_rC, r_r, r_rC, F, M, SGV, RGV>::source_space() const final override

\ }

Required by OperatorInterface.

\ {

Method Dune::GDT::ConstantOperator::assembly_grid_view

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>
const AssemblyGridViewType &Dune::GDT::ConstantOperator<AGV, s_r, s_rC, r_r, r_rC, F, M, SGV, RGV>::assembly_grid_view() const final override

No documentation provided.

Method Dune::GDT::ConstantOperator::apply

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>
void Dune::GDT::ConstantOperator<AGV, s_r, s_rC, r_r, r_rC, F, M, SGV, RGV>::apply(const VectorType &source_vector, VectorType &range_vector, const XT::Common::Parameter &param) const final override

No documentation provided.

Method Dune::GDT::ConstantOperator::all_jacobian_options

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>
int Dune::GDT::ConstantOperator<AGV, s_r, s_rC, r_r, r_rC, F, M, SGV, RGV>::all_jacobian_options() const final override

No documentation provided.

Constructor Dune::GDT::ConstantOperator::ConstantOperator<AGV, s_r, s_rC, r_r, r_rC, F, M, SGV, RGV>

template<>
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>
Dune::GDT::ConstantOperator<AGV, s_r, s_rC, r_r, r_rC, F, M, SGV, RGV>::ConstantOperator<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 VectorType &val, const std::string &logging_prefix, const std::array<bool, 3> &logging_state = XT::Common::default_logger_state())

No documentation provided.

Constructor Dune::GDT::ConstantOperator::ConstantOperator<AGV, s_r, s_rC, r_r, r_rC, F, M, SGV, RGV>

template<>
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>
Dune::GDT::ConstantOperator<AGV, s_r, s_rC, r_r, r_rC, F, M, SGV, RGV>::ConstantOperator<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, VectorType *&&val, const std::string &logging_prefix, const std::array<bool, 3> &logging_state = XT::Common::default_logger_state())

No documentation provided.

Constructor Dune::GDT::ConstantOperator::ConstantOperator<AGV, s_r, s_rC, r_r, r_rC, F, M, SGV, RGV>

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

No documentation provided.

Constructor Dune::GDT::ConstantOperator::ConstantOperator<AGV, s_r, s_rC, r_r, r_rC, F, M, SGV, RGV>

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

No documentation provided.

Field Dune::GDT::ConstantOperator::assembly_grid_view_

const AssemblyGridViewType &Dune::GDT::ConstantOperator::assembly_grid_view_

\ }

Field Dune::GDT::ConstantOperator::source_space_

const SourceSpaceType &Dune::GDT::ConstantOperator::source_space_

No documentation provided.

Field Dune::GDT::ConstantOperator::range_space_

const RangeSpaceType &Dune::GDT::ConstantOperator::range_space_

No documentation provided.

Field Dune::GDT::ConstantOperator::value_

const XT::Common::ConstStorageProvider<VectorType> Dune::GDT::ConstantOperator::value_

No documentation provided.

Field Dune::GDT::ConstantOperator::is_zero_

const bool Dune::GDT::ConstantOperator::is_zero_

No documentation provided.

Type alias Dune::GDT::ConstantOperator::ThisType

type Dune::GDT::ConstantOperator::ThisType

No documentation provided.

Type alias Dune::GDT::ConstantOperator::BaseType

type Dune::GDT::ConstantOperator::BaseType

No documentation provided.