Commit 63dc6eb8 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

use transport again

parent c8259e83
......@@ -15,11 +15,11 @@ void MultilevelMonteCarlo::initializeMapMonteCarlo() {
MonteCarlo *MultilevelMonteCarlo::createMonteCarlo(int l, int dM, bool onlyFineLevel) {
auto ellipticAssemble = dynamic_cast<LagrangeEllipticAssemble *>(assemble);
// auto transportAssemble = dynamic_cast<DGTransportAssemble *>(assemble);
auto transportAssemble = dynamic_cast<DGTransportAssemble *>(assemble);
if (ellipticAssemble != nullptr)
return new MonteCarloElliptic(l, dM, onlyFineLevel, meshes, ellipticAssemble);
// if (transportAssemble != nullptr)
// return new MonteCarloTransport(l, dM, onlyFineLevel, meshes, transportAssemble);
if (transportAssemble != nullptr)
return new MonteCarloTransport(l, dM, onlyFineLevel, meshes, transportAssemble);
Exit("Wrong Assembly Class")
}
......
Supports Markdown
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