Replace assert(false) with throw SimulationStoppingError(To be implemented.)

This commit is contained in:
Aik-Siong Koh
2025-09-09 16:39:39 -06:00
committed by Chris Hennes
parent bacb65f9c0
commit b9ba0976f2
65 changed files with 287 additions and 283 deletions

View File

@@ -32,13 +32,13 @@ FColDsptr MbD::LinearMultiStepMethod::derivativeatpresentpast(size_t n, double t
FColDsptr MbD::LinearMultiStepMethod::derivativepresentpast(size_t, FColDsptr, std::shared_ptr<std::vector<FColDsptr>>)
{
assert(false);
throw SimulationStoppingError("To be implemented.");
return FColDsptr();
}
double MbD::LinearMultiStepMethod::pvdotpv()
{
assert(false);
throw SimulationStoppingError("To be implemented.");
return 0.0;
}
@@ -51,6 +51,6 @@ FColDsptr MbD::LinearMultiStepMethod::derivativepresentpastpresentDerivativepast
FColDsptr, std::shared_ptr<std::vector<FColDsptr>>,
FColDsptr, std::shared_ptr<std::vector<FColDsptr>>)
{
assert(false);
throw SimulationStoppingError("To be implemented.");
return FColDsptr();
}