Commit 1f04010f authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

changed error statements

parent 27b337fd
......@@ -25,7 +25,7 @@ Meshes *MLMCMain::getMeshes() {
return new Meshes("UnitSquare", pLevel, maxLevel);
if (problemName.find("Square500") != string::npos)
return new Meshes("Square500", pLevel, maxLevel);
Exit("\nMesh not found\n")
Exit("\nMesh not found in " + problemName + "\n")
}
Discretization *MLMCMain::getDiscretization() {
......@@ -51,7 +51,7 @@ Discretization *MLMCMain::getDiscretization() {
return nullptr;
if (modelName == "DGTransport")
return new DGDiscretization(new DGDoF(degree));
Exit("\nDiscretization not implemented yet\n")
Exit("\nDiscretization not found in " + modelName + "\n")
}
StochasticField *MLMCMain::getStochasticField() {
......
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