Replace assert(false) with throw SimulationStoppingError(To be implemented.)
This commit is contained in:
committed by
Chris Hennes
parent
bacb65f9c0
commit
b9ba0976f2
@@ -10,6 +10,7 @@
|
||||
|
||||
#include "Solver.h"
|
||||
#include <string>
|
||||
#include "SimulationStoppingError.h"
|
||||
|
||||
using namespace MbD;
|
||||
|
||||
@@ -28,22 +29,22 @@ void Solver::initializeLocally()
|
||||
|
||||
void Solver::initializeGlobally()
|
||||
{
|
||||
assert(false);
|
||||
throw SimulationStoppingError("To be implemented.");
|
||||
}
|
||||
|
||||
void Solver::assignEquationNumbers()
|
||||
{
|
||||
assert(false);
|
||||
throw SimulationStoppingError("To be implemented.");
|
||||
}
|
||||
|
||||
void Solver::run()
|
||||
{
|
||||
assert(false);
|
||||
throw SimulationStoppingError("To be implemented.");
|
||||
}
|
||||
|
||||
void Solver::preRun()
|
||||
{
|
||||
assert(false);
|
||||
throw SimulationStoppingError("To be implemented.");
|
||||
}
|
||||
|
||||
void Solver::finalize()
|
||||
@@ -56,15 +57,15 @@ void Solver::reportStats()
|
||||
|
||||
void Solver::postRun()
|
||||
{
|
||||
assert(false);
|
||||
throw SimulationStoppingError("To be implemented.");
|
||||
}
|
||||
|
||||
void Solver::logString(const std::string&)
|
||||
{
|
||||
assert(false);
|
||||
throw SimulationStoppingError("To be implemented.");
|
||||
}
|
||||
|
||||
void MbD::Solver::handleSingularMatrix()
|
||||
{
|
||||
assert(false);
|
||||
throw SimulationStoppingError("To be implemented.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user