Class template Dune::GDT::ConstDiscreteFunction

Inherits from Dune::XT::Functions::GridFunctionInterface.

template<class V, class GV, size_t r, size_t rC, class R>
class Dune::GDT::ConstDiscreteFunction : public XT::Functions::GridFunctionInterface<typename internal::AssertArgumentsOfConstDiscreteFunction<Vector, GridView>::E, range_dim, range_dim_cols, RangeField>

Read-only discrete function, a grid function defined by a space and an immutable DoF vector.

const SpaceType &Dune::GDT::ConstDiscreteFunction::space() const

No documentation provided.

const ConstDofVectorType &Dune::GDT::ConstDiscreteFunction::dofs() const

No documentation provided.

int Dune::GDT::ConstDiscreteFunction::local_discrete_function() const

No documentation provided.

int Dune::GDT::ConstDiscreteFunction::local_discrete_function(const ElementType &grid_element) const

No documentation provided.

int Dune::GDT::ConstDiscreteFunction::copy_as_discrete_function() const

No documentation provided.

int Dune::GDT::ConstDiscreteFunction::copy_as_grid_function() const

No documentation provided.

BaseType *Dune::GDT::ConstDiscreteFunction::copy_as_grid_function_impl() const final override

\ {

``These methods are required by XT::Functions::GridFunctionInterface.‘’

std::string Dune::GDT::ConstDiscreteFunction::name() const final override

No documentation provided.

int Dune::GDT::ConstDiscreteFunction::local_function() const final override

No documentation provided.

void Dune::GDT::ConstDiscreteFunction::visualize(const std::string filename, const int vtk_output_type = <recovery-expr>(), const XT::Common::Parameter &param = <recovery-expr>({})) const

Visualizes the function using Dune::XT::Functions::visualize on the grid view associated with the space.

Note

Subsampling is enabled by default for functions of order greater than one.

See also: Dune::XT::Functions::visualize

void Dune::GDT::ConstDiscreteFunction::visualize_gradient(const std::string filename, const int vtk_output_type = <recovery-expr>(), const XT::Common::Parameter &param = <recovery-expr>({})) const

Visualizes the gradient of the function using Dune::XT::Functions::visualize_gradient on the grid view associated with the space.

Note

Subsampling is enabled by default for functions of order greater than one.

See also: Dune::XT::Functions::visualize_gradient

template<>
Dune::GDT::ConstDiscreteFunction::ConstDiscreteFunction<V, GV, r, rC, R>(const SpaceType &spc, const VectorType &vector, const std::string nm = <recovery-expr>("dune.gdt.constdiscretefunction"))

No documentation provided.

template<>
Dune::GDT::ConstDiscreteFunction::ConstDiscreteFunction<V, GV, r, rC, R>(const ThisType&) = default

No documentation provided.

template<>
Dune::GDT::ConstDiscreteFunction::ConstDiscreteFunction<V, GV, r, rC, R>(ThisType&&) noexcept = default

No documentation provided.

const SpaceType &Dune::GDT::ConstDiscreteFunction::space_

No documentation provided.

const ConstDofVectorType Dune::GDT::ConstDiscreteFunction::dofs_

No documentation provided.

const std::string Dune::GDT::ConstDiscreteFunction::name_

No documentation provided.

type Dune::GDT::ConstDiscreteFunction::BaseType

No documentation provided.

type Dune::GDT::ConstDiscreteFunction::ThisType

No documentation provided.

type Dune::GDT::ConstDiscreteFunction::ConstDofVectorType

No documentation provided.

type Dune::GDT::ConstDiscreteFunction::SpaceType

No documentation provided.

type Dune::GDT::ConstDiscreteFunction::VectorType

No documentation provided.

type Dune::GDT::ConstDiscreteFunction::ConstLocalDiscreteFunctionType

No documentation provided.