Commit 2c9b623e authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

updated exit statements

parent cc93c0dd
......@@ -19,7 +19,7 @@ Meshes *MLMCMain::getMeshes() {
return new Meshes("Line", plevel, Lmax);
if (problemName.find("2D") != string::npos)
return new Meshes("UnitSquare", plevel, Lmax);
Exit("Not implemented yet")
Exit("\nMesh name not found\n")
return nullptr;
}
......@@ -37,7 +37,7 @@ Discretization *MLMCMain::getDiscretization(string _modelName_) {
return new DGDiscretization(new DGDoF(1));
if (_modelName_ == "QuadraticDGFEM")
return new DGDiscretization(new DGDoF(2));
Exit("Not implemented yet")
Exit("\nDiscretization not implemented yet\n")
return nullptr;
}
......@@ -66,7 +66,7 @@ StochasticProblem *MLMCMain::getStochasticProblem(string _problemName_) {
}
Exit("Not implemented yet")
Exit("\nStochastic problem not implemented yet\n")
return nullptr;
}
......@@ -95,7 +95,7 @@ Assemble *MLMCMain::getAssemble(string _modelName_, string _problemName_,
if (_modelName_ == "QuadraticDGFEM")
return nullptr;
}
Exit("Not implemented yet")
Exit("\nAssembling for this problem not implemented yet\n")
return nullptr;
}
......@@ -113,7 +113,7 @@ MatrixGraphs *MLMCMain::getMatrixGraphs(string _modelName_,
if (_modelName_ == "FVFEM" || _modelName_ == "LinearDGFEM" ||
_modelName_ == "QuadraticDGFEM")
return new CellMatrixGraphs(*_meshes_, *_disc_);
Exit("Not implemented yet")
Exit("\nMatrix graph Not implemented yet\n")
return nullptr;
}
......
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