Class template Dune::XT::Functions::SlicedGridFunction

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

template<class GF, size_t r>
class Dune::XT::Functions::SlicedGridFunction<GF, r, 1> : public XT::Functions::GridFunctionInterface<typename GF::E, r, 1, typename GF::R>

Can be used to extract components of a function as a new function. Consider a given function u: R^d -> R^{d+2}, i.e. modeling [density (scalar), density*velocity (d-dimensional), energy (scalar)] in the context of the euler equations and one wishes to obtain the individual components for further postprocessing or visualization, the following code would achieve just that (in the case d = 2 with u already given):

Class Dune::XT::Functions::SlicedGridFunction::SlicedLocalFunction

Inherits from Dune::XT::Functions::ElementFunctionInterface.

class Dune::XT::Functions::SlicedGridFunction::SlicedLocalFunction : public XT::Functions::ElementFunctionInterface<typename GF::E, r, 1, typename GF::R>

No documentation provided.

Method Dune::XT::Functions::SlicedGridFunction::SlicedLocalFunction::post_bind

void Dune::XT::Functions::SlicedGridFunction::SlicedLocalFunction::post_bind(const ElementType &element) final

No documentation provided.

Method Dune::XT::Functions::SlicedGridFunction::SlicedLocalFunction::order

int Dune::XT::Functions::SlicedGridFunction::SlicedLocalFunction::order(const XT::Common::Parameter&) const final

No documentation provided.

Method Dune::XT::Functions::SlicedGridFunction::SlicedLocalFunction::evaluate

RangeReturnType Dune::XT::Functions::SlicedGridFunction::SlicedLocalFunction::evaluate(const DomainType &xx, const XT::Common::Parameter &param) const final

No documentation provided.

Method Dune::XT::Functions::SlicedGridFunction::SlicedLocalFunction::jacobian

DerivativeRangeReturnType Dune::XT::Functions::SlicedGridFunction::SlicedLocalFunction::jacobian(const DomainType&, const XT::Common::Parameter&) const final

No documentation provided.

Constructor Dune::XT::Functions::SlicedGridFunction::SlicedLocalFunction::SlicedLocalFunction

Dune::XT::Functions::SlicedGridFunction::SlicedLocalFunction::SlicedLocalFunction(const GF &function, const int &dims)

No documentation provided.

Field Dune::XT::Functions::SlicedGridFunction::SlicedLocalFunction::function_

int Dune::XT::Functions::SlicedGridFunction::SlicedLocalFunction::function_

No documentation provided.

Field Dune::XT::Functions::SlicedGridFunction::SlicedLocalFunction::local_function_

int Dune::XT::Functions::SlicedGridFunction::SlicedLocalFunction::local_function_

No documentation provided.

Field Dune::XT::Functions::SlicedGridFunction::SlicedLocalFunction::dims_

const int Dune::XT::Functions::SlicedGridFunction::SlicedLocalFunction::dims_

No documentation provided.

Type alias Dune::XT::Functions::SlicedGridFunction::SlicedLocalFunction::BaseType

type Dune::XT::Functions::SlicedGridFunction::SlicedLocalFunction::BaseType

No documentation provided.

Method Dune::XT::Functions::SlicedGridFunction::copy_as_grid_function_impl

template<class GF, size_t r>
ThisType *Dune::XT::Functions::SlicedGridFunction<GF, r, 1>::copy_as_grid_function_impl() const override

No documentation provided.

Method Dune::XT::Functions::SlicedGridFunction::copy_as_grid_function

template<class GF, size_t r>
int Dune::XT::Functions::SlicedGridFunction<GF, r, 1>::copy_as_grid_function() const

No documentation provided.

Method Dune::XT::Functions::SlicedGridFunction::name

template<class GF, size_t r>
std::string Dune::XT::Functions::SlicedGridFunction<GF, r, 1>::name() const final

No documentation provided.

Method Dune::XT::Functions::SlicedGridFunction::local_function

template<class GF, size_t r>
int Dune::XT::Functions::SlicedGridFunction<GF, r, 1>::local_function() const final

No documentation provided.

Constructor Dune::XT::Functions::SlicedGridFunction::SlicedGridFunction<GF, r, 1>

template<>
template<class GF, size_t r>
Dune::XT::Functions::SlicedGridFunction<GF, r, 1>::SlicedGridFunction<GF, r, 1>(const GF &function, const int &dims, const std::string &nm)

No documentation provided.

Constructor Dune::XT::Functions::SlicedGridFunction::SlicedGridFunction<GF, r, 1>

template<>
template<class GF, size_t r>
Dune::XT::Functions::SlicedGridFunction<GF, r, 1>::SlicedGridFunction<GF, r, 1>(const ThisType &other)

No documentation provided.

Constructor Dune::XT::Functions::SlicedGridFunction::SlicedGridFunction<GF, r, 1>

template<>
template<class GF, size_t r>
Dune::XT::Functions::SlicedGridFunction<GF, r, 1>::SlicedGridFunction<GF, r, 1>(ThisType&&) noexcept = default

No documentation provided.

Field Dune::XT::Functions::SlicedGridFunction::function_

int Dune::XT::Functions::SlicedGridFunction::function_

No documentation provided.

Field Dune::XT::Functions::SlicedGridFunction::dims_

const int Dune::XT::Functions::SlicedGridFunction::dims_

No documentation provided.

Field Dune::XT::Functions::SlicedGridFunction::name_

const std::string &Dune::XT::Functions::SlicedGridFunction::name_

No documentation provided.

Type alias Dune::XT::Functions::SlicedGridFunction::ThisType

type Dune::XT::Functions::SlicedGridFunction::ThisType

No documentation provided.

Type alias Dune::XT::Functions::SlicedGridFunction::BaseType

type Dune::XT::Functions::SlicedGridFunction::BaseType

No documentation provided.