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<V, GV, r, rC, R> : 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.

Method Dune::GDT::ConstDiscreteFunction::space

template<class V, class GV, size_t r, size_t rC, class R>
const SpaceType &Dune::GDT::ConstDiscreteFunction<V, GV, r, rC, R>::space() const

No documentation provided.

Method Dune::GDT::ConstDiscreteFunction::dofs

template<class V, class GV, size_t r, size_t rC, class R>
const ConstDofVectorType &Dune::GDT::ConstDiscreteFunction<V, GV, r, rC, R>::dofs() const

No documentation provided.

Method Dune::GDT::ConstDiscreteFunction::local_discrete_function

template<class V, class GV, size_t r, size_t rC, class R>
int Dune::GDT::ConstDiscreteFunction<V, GV, r, rC, R>::local_discrete_function() const

No documentation provided.

Method Dune::GDT::ConstDiscreteFunction::local_discrete_function

template<class V, class GV, size_t r, size_t rC, class R>
int Dune::GDT::ConstDiscreteFunction<V, GV, r, rC, R>::local_discrete_function(const ElementType &grid_element) const

No documentation provided.

Method Dune::GDT::ConstDiscreteFunction::copy_as_discrete_function

template<class V, class GV, size_t r, size_t rC, class R>
int Dune::GDT::ConstDiscreteFunction<V, GV, r, rC, R>::copy_as_discrete_function() const

No documentation provided.

Method Dune::GDT::ConstDiscreteFunction::copy_as_grid_function

template<class V, class GV, size_t r, size_t rC, class R>
int Dune::GDT::ConstDiscreteFunction<V, GV, r, rC, R>::copy_as_grid_function() const

No documentation provided.

Method Dune::GDT::ConstDiscreteFunction::copy_as_grid_function_impl

template<class V, class GV, size_t r, size_t rC, class R>
BaseType *Dune::GDT::ConstDiscreteFunction<V, GV, r, rC, R>::copy_as_grid_function_impl() const final override

\ {

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

Method Dune::GDT::ConstDiscreteFunction::name

template<class V, class GV, size_t r, size_t rC, class R>
std::string Dune::GDT::ConstDiscreteFunction<V, GV, r, rC, R>::name() const final override

No documentation provided.

Method Dune::GDT::ConstDiscreteFunction::local_function

template<class V, class GV, size_t r, size_t rC, class R>
int Dune::GDT::ConstDiscreteFunction<V, GV, r, rC, R>::local_function() const final override

No documentation provided.

Method Dune::GDT::ConstDiscreteFunction::visualize

template<class V, class GV, size_t r, size_t rC, class R>
void Dune::GDT::ConstDiscreteFunction<V, GV, r, rC, R>::visualize(const std::string filename, const VTK::OutputType vtk_output_type = VTK::appendedraw, const XT::Common::Parameter &param) 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

Method Dune::GDT::ConstDiscreteFunction::visualize_gradient

template<class V, class GV, size_t r, size_t rC, class R>
void Dune::GDT::ConstDiscreteFunction<V, GV, r, rC, R>::visualize_gradient(const std::string filename, const VTK::OutputType vtk_output_type = VTK::appendedraw, const XT::Common::Parameter &param) 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

Constructor Dune::GDT::ConstDiscreteFunction::ConstDiscreteFunction<V, GV, r, rC, R>

template<>
template<class V, class GV, size_t r, size_t rC, class R>
Dune::GDT::ConstDiscreteFunction<V, GV, r, rC, R>::ConstDiscreteFunction<V, GV, r, rC, R>(const SpaceType &spc, const VectorType &vector, const std::string nm)

No documentation provided.

Constructor Dune::GDT::ConstDiscreteFunction::ConstDiscreteFunction<V, GV, r, rC, R>

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

No documentation provided.

Constructor Dune::GDT::ConstDiscreteFunction::ConstDiscreteFunction<V, GV, r, rC, R>

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

No documentation provided.

Field Dune::GDT::ConstDiscreteFunction::space_

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

No documentation provided.

Field Dune::GDT::ConstDiscreteFunction::dofs_

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

No documentation provided.

Field Dune::GDT::ConstDiscreteFunction::name_

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

No documentation provided.

Type alias Dune::GDT::ConstDiscreteFunction::BaseType

type Dune::GDT::ConstDiscreteFunction::BaseType

No documentation provided.

Type alias Dune::GDT::ConstDiscreteFunction::ThisType

type Dune::GDT::ConstDiscreteFunction::ThisType

No documentation provided.

Type alias Dune::GDT::ConstDiscreteFunction::ConstDofVectorType

type Dune::GDT::ConstDiscreteFunction::ConstDofVectorType

No documentation provided.

Type alias Dune::GDT::ConstDiscreteFunction::SpaceType

type Dune::GDT::ConstDiscreteFunction::SpaceType

No documentation provided.

Type alias Dune::GDT::ConstDiscreteFunction::VectorType

type Dune::GDT::ConstDiscreteFunction::VectorType

No documentation provided.

Type alias Dune::GDT::ConstDiscreteFunction::ConstLocalDiscreteFunctionType

type Dune::GDT::ConstDiscreteFunction::ConstLocalDiscreteFunctionType

No documentation provided.