Commit 08d69c73 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

..

parent 8417788c
......@@ -4,13 +4,13 @@ using namespace std;
MonteCarlo *MultilevelMonteCarlo::getMonteCarlo(int l, int dM, bool baseLevel) {
auto ellipticAssemble = dynamic_cast<EllipticAssemble *>(assemble);
auto transportAssemble = dynamic_cast<DGTransportAssemble *>(assemble);
// auto transportAssemble = dynamic_cast<DGTransportAssemble *>(assemble);
if (ellipticAssemble != nullptr)
return new MonteCarloElliptic(l, dM, baseLevel, meshes, stochFields,
graphs, ellipticAssemble);
if (transportAssemble != nullptr)
return new MonteCarloTransport(l, dM, baseLevel, meshes, stochFields,
graphs, transportAssemble);
// if (transportAssemble != nullptr)
// return new MonteCarloTransport(l, dM, baseLevel, meshes, stochFields,
// graphs, transportAssemble);
return nullptr;
}
......
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