Skip to content
Snippets Groups Projects
Commit 7413ec5d authored by Dr. Felix Tobias Schindler's avatar Dr. Felix Tobias Schindler
Browse files

[local.operators] minor clean up

parent 99320b9b
No related branches found
No related tags found
No related merge requests found
......@@ -49,6 +49,9 @@ class LocalElementOperatorInterface
static_assert(
std::is_same<XT::Grid::extract_entity_t<SourceGridView>, XT::Grid::extract_entity_t<RangeGridView>>::value, "");
using ThisType = LocalElementOperatorInterface;
using BaseType = XT::Grid::ElementBoundObject<XT::Grid::extract_entity_t<SourceGridView>>;
public:
using SV = SourceVector;
using SGV = SourceGridView;
......@@ -65,15 +68,13 @@ public:
static const constexpr size_t d = LocalRangeType::d;
using D = typename LocalRangeType::D;
using E = typename LocalRangeType::E;
using E = typename BaseType::ElementType;
using SourceType = XT::Functions::GridFunctionInterface<E, s_r, s_rC, SR>;
using LocalSourceType = typename SourceType::LocalFunctionType;
using DiscreteSourceType = ConstDiscreteFunction<SV, SGV, s_r, s_rC, SR>;
using SourceSpaceType = typename DiscreteSourceType::SpaceType;
using ThisType = LocalElementOperatorInterface;
// Allows construction without source, source has to be set by a call to with_source before calling apply
LocalElementOperatorInterface(const size_t num_local_sources = 1, const XT::Common::ParameterType& param_type = {})
: XT::Common::ParametricInterface(param_type)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment