Commit 74ee8bad authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

adapted HybridFluxGenerator

parent a9c27631
......@@ -53,12 +53,14 @@ public:
pc(GetPC("SuperLU")),
solver(new Solver(pc, "GMRES")),
newton(new Newton(*solver)) {
if (meshes.dim() == 1)
if (meshes.dim() == 1) {
problem = new StochasticLaplace1D(meshes);
assemble = new HybridEllipticAssemble(disc, problem);
if (meshes.dim() == 2)
assemble = new HybridEllipticAssemble(disc, problem);
}
if (meshes.dim() == 2) {
problem = new StochasticLaplace2D(meshes);
assemble = new HybridEllipticAssemble(disc, problem);
assemble = new HybridEllipticAssemble(disc, problem);
}
}
virtual ~MultilevelHybridFluxGenerator() {
......
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