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

[operators] keep a copy of the grid view

parent 2b0dc0d3
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,7 @@ public: ...@@ -54,7 +54,7 @@ public:
using E = XT::Grid::extract_entity_t<AssemblyGridViewType>; using E = XT::Grid::extract_entity_t<AssemblyGridViewType>;
static const constexpr size_t d = RGV::dimension; static const constexpr size_t d = RGV::dimension;
IpdgFluxReconstructionOperator(const AssemblyGridViewType& assembly_grid_view, IpdgFluxReconstructionOperator(AssemblyGridViewType assembly_grid_view,
const SourceSpaceType& src_spc, const SourceSpaceType& src_spc,
const RangeSpaceType& rng_spc, const RangeSpaceType& rng_spc,
const XT::Functions::GridFunctionInterface<E>& diffusion_factor, const XT::Functions::GridFunctionInterface<E>& diffusion_factor,
...@@ -297,7 +297,7 @@ public: ...@@ -297,7 +297,7 @@ public:
} // ... apply(...) } // ... apply(...)
private: private:
const AssemblyGridViewType& assembly_grid_view_; const AssemblyGridViewType assembly_grid_view_;
const SourceSpaceType& source_space_; const SourceSpaceType& source_space_;
const RangeSpaceType& range_space_; const RangeSpaceType& range_space_;
const XT::Functions::GridFunctionInterface<E>& diffusion_factor_; const XT::Functions::GridFunctionInterface<E>& diffusion_factor_;
......
...@@ -59,7 +59,7 @@ public: ...@@ -59,7 +59,7 @@ public:
/** /**
* \param boundary_info To determine the Dirichlet boundary DoFs on which to set the range to zero. * \param boundary_info To determine the Dirichlet boundary DoFs on which to set the range to zero.
*/ */
OswaldInterpolationOperator(const AssemblyGridViewType& assembly_grid_view, OswaldInterpolationOperator(AssemblyGridViewType assembly_grid_view,
const SourceSpaceType& src_spc, const SourceSpaceType& src_spc,
const RangeSpaceType& rng_spc, const RangeSpaceType& rng_spc,
const XT::Grid::BoundaryInfo<I>& boundary_info) const XT::Grid::BoundaryInfo<I>& boundary_info)
...@@ -194,7 +194,7 @@ public: ...@@ -194,7 +194,7 @@ public:
} // ... apply(...) } // ... apply(...)
private: private:
const AssemblyGridViewType& assembly_grid_view_; const AssemblyGridViewType assembly_grid_view_;
const SourceSpaceType& source_space_; const SourceSpaceType& source_space_;
const RangeSpaceType& range_space_; const RangeSpaceType& range_space_;
const XT::Common::ConstStorageProvider<XT::Grid::BoundaryInfo<I>> boundary_info_; const XT::Common::ConstStorageProvider<XT::Grid::BoundaryInfo<I>> boundary_info_;
......
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