This commit is contained in:
Aik-Siong Koh
2023-06-18 01:06:39 -06:00
parent 3b08cd72df
commit 371b13a9e0
147 changed files with 2555 additions and 238 deletions

View File

@@ -17,9 +17,9 @@ tend = system->endTime();
direction = (tstart < tend) ? 1.0 : -1.0;
}
void MbD::IntegratorInterface::setSystem(SystemSolver* sys)
void MbD::IntegratorInterface::setSystem(Solver* sys)
{
system = sys;
system = static_cast<SystemSolver*>(sys);
}
void MbD::IntegratorInterface::logString(std::string& str)
@@ -44,3 +44,8 @@ int MbD::IntegratorInterface::orderMax()
{
return system->orderMax;
}
void MbD::IntegratorInterface::incrementTime(double tnew)
{
system->settime(tnew);
}