Commit f72d4ed5 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

exit statements

parent 187e334b
......@@ -7,4 +7,5 @@ CreateStochasticEllipticProblem(std::string problemName, Meshes &meshes) {
return new StochasticLaplace1D(meshes);
if (problemName == "StochasticLaplace2D")
return new StochasticLaplace2D(meshes);
Exit(problemName + " not found")
}
\ No newline at end of file
......@@ -15,4 +15,5 @@ CreateStochasticTransportProblem(std::string problemName, Meshes &meshes) {
return new StochasticPollutionMollifiedBar2D(meshes);
if (problemName == "StochasticInitialConditions2D")
return nullptr;
Exit(problemName + " not found")
}
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