Commit 6ad6754c authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

adding parabolic pdesolver to PDESolverCreator

parent 109c25f3
#include "PDESolverCreator.hpp"
#include "EllipticPDESolver.hpp"
#include "TransportPDESolver.hpp"
#include "ParabolicPDESolver.hpp"
PDESolver *PDESolverCreator::Create(const Meshes &meshes) {
......@@ -47,21 +48,21 @@ PDESolver *PDESolverCreator::Create(const Meshes &meshes) {
if (_model == "PGTransport")
return nullptr; // Todo open research question
// if (_model == "DGReaction")
// return new ReactionPDESolver(
// new DGReactionAssemble(
// new DGDiscretization(meshes, _degree),
// CreateStochasticReactionProblem(_problem, meshes)
// ), meshes, _quantity, _costMeasure
// );
//
// if (_model == "PGReaction")
// return new ReactionPDESolver(
// new PGReactionAssemble(
// new DGDiscretization(meshes, _degree),
// CreateStochasticReactionProblem(_problem, meshes)
// ), meshes, _quantity, _costMeasure
// );
if (_model == "DGReaction")
return new ParabolicPDESolver(
new DGReactionAssemble(
new DGDiscretization(meshes, _degree),
CreateStochasticReactionProblem(_problem, meshes)
), _quantity, _costMeasure
);
if (_model == "PGReaction")
return new ParabolicPDESolver(
new PGReactionAssemble(
new DGDiscretization(meshes, _degree),
CreateStochasticReactionProblem(_problem, meshes)
), _quantity, _costMeasure
);
if (_model == "DummyPDESolver")
return new DummyPDESolver(
......
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