Commit 0ab6dd00 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

adapted to new discretization

parent 4162ac52
......@@ -5,6 +5,7 @@
#include "CirculantEmbedding.hpp"
#include "assemble/HybridEllipticAssemble.hpp"
#include "problem/StochasticEllipticProblem.hpp"
#include "discretization/RTLagrangeDiscretization.hpp"
#include "solver/Newton.h"
......@@ -54,7 +55,7 @@ public:
explicit HybridFluxGenerator1D(int l, Meshes &meshes) :
HybridFluxGenerator(l, meshes) {
disc = make_shared<DiscretizationT<>>(meshes, "RT0_P0");
disc = make_shared<RTLagrangeDiscretization>(meshes, 0, 0);
problem = make_shared<StochasticLaplace1D>();
assemble = make_unique<HybridEllipticAssemble>(disc.get(), problem.get());
permeabilityGenerator = make_unique<CirculantEmbedding1D>(l, meshes);
......@@ -66,7 +67,7 @@ public:
explicit HybridFluxGenerator2D(int l, Meshes &meshes)
: HybridFluxGenerator(l, meshes) {
disc = make_shared<DiscretizationT<>>(meshes, "RT0_P0");
disc = make_shared<RTLagrangeDiscretization>(meshes, 0,0);
problem = make_shared<StochasticLaplace2D>();
assemble = make_unique<HybridEllipticAssemble>(disc.get(), problem.get());
permeabilityGenerator = make_unique<CirculantEmbedding2D>(l, meshes);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment