Class template Dune::GDT::LocalMassMatrixProvider<GV, r, rC, F, AGV>

Inherits from Dune::XT::Grid::ElementFunctor, Dune::XT::Common::ThreadResultPropagator.

Friends Dune::GDT::LocalMassMatrixProvider::Propagator.

template<class GV, size_t r = 1, size_t rC = 1, class F = double, class AGV = GV>
class Dune::GDT::LocalMassMatrixProvider<GV, r, rC, F, AGV> : public XT::Grid::ElementFunctor<GV>, public XT::Common::ThreadResultPropagator<LocalMassMatrixProvider<GV, r, rC, F>, std::map<size_t, std::pair<XT::LA::CommonDenseMatrix<F>, XT::LA::CommonDenseMatrix<F>>>, XT::Common::concatenate_container<std::map<size_t, std::pair<XT::LA::CommonDenseMatrix<F>, XT::LA::CommonDenseMatrix<F>>>>>

Element functor that computes the local L2 mass matrix and its inverse for each element of the grid and provides access to them per element.

Method Dune::GDT::LocalMassMatrixProvider::apply_local

template<class GV, size_t r = 1, size_t rC = 1, class F = double, class AGV = GV>
void Dune::GDT::LocalMassMatrixProvider<GV, r, rC, F, AGV>::apply_local(const ElementType &element) override

No documentation provided.

Method Dune::GDT::LocalMassMatrixProvider::copy

template<class GV, size_t r = 1, size_t rC = 1, class F = double, class AGV = GV>
BaseType *Dune::GDT::LocalMassMatrixProvider<GV, r, rC, F, AGV>::copy() final override

No documentation provided.

Method Dune::GDT::LocalMassMatrixProvider::finalize

template<class GV, size_t r = 1, size_t rC = 1, class F = double, class AGV = GV>
void Dune::GDT::LocalMassMatrixProvider<GV, r, rC, F, AGV>::finalize() final override

No documentation provided.

Method Dune::GDT::LocalMassMatrixProvider::result

template<class GV, size_t r = 1, size_t rC = 1, class F = double, class AGV = GV>
std::map<size_t, std::pair<XT::LA::CommonDenseMatrix<F>, XT::LA::CommonDenseMatrix<F>>> Dune::GDT::LocalMassMatrixProvider<GV, r, rC, F, AGV>::result() const

Note

This is only used to merge the thread-local results after the grid walk, you are probably interested in local_mass_matrix() and local_mass_matrix_inverse().

Method Dune::GDT::LocalMassMatrixProvider::set_result

template<class GV, size_t r = 1, size_t rC = 1, class F = double, class AGV = GV>
void Dune::GDT::LocalMassMatrixProvider<GV, r, rC, F, AGV>::set_result(std::map<size_t, std::pair<XT::LA::CommonDenseMatrix<F>, XT::LA::CommonDenseMatrix<F>>> res)

No documentation provided.

Method Dune::GDT::LocalMassMatrixProvider::local_mass_matrix

template<class GV, size_t r = 1, size_t rC = 1, class F = double, class AGV = GV>
const XT::LA::CommonDenseMatrix<F> &Dune::GDT::LocalMassMatrixProvider<GV, r, rC, F, AGV>::local_mass_matrix(const ElementType &element) const

No documentation provided.

Method Dune::GDT::LocalMassMatrixProvider::local_mass_matrix_inverse

template<class GV, size_t r = 1, size_t rC = 1, class F = double, class AGV = GV>
const XT::LA::CommonDenseMatrix<F> &Dune::GDT::LocalMassMatrixProvider<GV, r, rC, F, AGV>::local_mass_matrix_inverse(const ElementType &element) const

No documentation provided.

Constructor Dune::GDT::LocalMassMatrixProvider::LocalMassMatrixProvider

template<class GV, size_t r = 1, size_t rC = 1, class F = double, class AGV = GV>
Dune::GDT::LocalMassMatrixProvider<GV, r, rC, F, AGV>::LocalMassMatrixProvider(const AssemblyGridView &grid_view, const SpaceType &space)

No documentation provided.

Constructor Dune::GDT::LocalMassMatrixProvider::LocalMassMatrixProvider

template<class GV, size_t r = 1, size_t rC = 1, class F = double, class AGV = GV>
Dune::GDT::LocalMassMatrixProvider<GV, r, rC, F, AGV>::LocalMassMatrixProvider(const ThisType &other)

No documentation provided.

Field Dune::GDT::LocalMassMatrixProvider::grid_view_

template<class GV, size_t r = 1, size_t rC = 1, class F = double, class AGV = GV>
const AssemblyGridView Dune::GDT::LocalMassMatrixProvider<GV, r, rC, F, AGV>::grid_view_

No documentation provided.

Field Dune::GDT::LocalMassMatrixProvider::space_

template<class GV, size_t r = 1, size_t rC = 1, class F = double, class AGV = GV>
std::unique_ptr<const SpaceType> Dune::GDT::LocalMassMatrixProvider<GV, r, rC, F, AGV>::space_

No documentation provided.

Field Dune::GDT::LocalMassMatrixProvider::element_mapper_

template<class GV, size_t r = 1, size_t rC = 1, class F = double, class AGV = GV>
const FiniteVolumeMapper<GV> Dune::GDT::LocalMassMatrixProvider<GV, r, rC, F, AGV>::element_mapper_

No documentation provided.

Field Dune::GDT::LocalMassMatrixProvider::instance_counter_

template<class GV, size_t r = 1, size_t rC = 1, class F = double, class AGV = GV>
size_t Dune::GDT::LocalMassMatrixProvider<GV, r, rC, F, AGV>::instance_counter_

No documentation provided.

Field Dune::GDT::LocalMassMatrixProvider::local_basis_

template<class GV, size_t r = 1, size_t rC = 1, class F = double, class AGV = GV>
std::unique_ptr<typename SpaceType::GlobalBasisType::LocalizedType> Dune::GDT::LocalMassMatrixProvider<GV, r, rC, F, AGV>::local_basis_

No documentation provided.

Field Dune::GDT::LocalMassMatrixProvider::local_mass_matrices_

template<class GV, size_t r = 1, size_t rC = 1, class F = double, class AGV = GV>
std::map<size_t, std::pair<XT::LA::CommonDenseMatrix<F>, XT::LA::CommonDenseMatrix<F>>> Dune::GDT::LocalMassMatrixProvider<GV, r, rC, F, AGV>::local_mass_matrices_

No documentation provided.

Type alias Dune::GDT::LocalMassMatrixProvider::ThisType

template<class GV, size_t r = 1, size_t rC = 1, class F = double, class AGV = GV>
using Dune::GDT::LocalMassMatrixProvider<GV, r, rC, F, AGV>::ThisType = LocalMassMatrixProvider<GV, r, rC, F, AGV>

No documentation provided.

Type alias Dune::GDT::LocalMassMatrixProvider::BaseType

template<class GV, size_t r = 1, size_t rC = 1, class F = double, class AGV = GV>
using Dune::GDT::LocalMassMatrixProvider<GV, r, rC, F, AGV>::BaseType = XT::Grid::ElementFunctor<GV>

No documentation provided.

Type alias Dune::GDT::LocalMassMatrixProvider::Propagator

template<class GV, size_t r = 1, size_t rC = 1, class F = double, class AGV = GV>
using Dune::GDT::LocalMassMatrixProvider<GV, r, rC, F, AGV>::Propagator = XT::Common::ThreadResultPropagator<LocalMassMatrixProvider<GV, r, rC, F>, std::map<size_t, std::pair<XT::LA::CommonDenseMatrix<F>, XT::LA::CommonDenseMatrix<F>>>, XT::Common::concatenate_container<std::map<size_t, std::pair<XT::LA::CommonDenseMatrix<F>, XT::LA::CommonDenseMatrix<F>>>>>

No documentation provided.

Type alias Dune::GDT::LocalMassMatrixProvider::AssemblyGridView

template<class GV, size_t r = 1, size_t rC = 1, class F = double, class AGV = GV>
using Dune::GDT::LocalMassMatrixProvider<GV, r, rC, F, AGV>::AssemblyGridView = AGV

No documentation provided.

Type alias Dune::GDT::LocalMassMatrixProvider::SpaceType

template<class GV, size_t r = 1, size_t rC = 1, class F = double, class AGV = GV>
using Dune::GDT::LocalMassMatrixProvider<GV, r, rC, F, AGV>::SpaceType = SpaceInterface<GV, r, rC, F>

No documentation provided.