Solve dragging (#47)

runPreDrag, runDragStep, runPostDrag, PosICDragNewtonRaphson
This commit is contained in:
aiksiongkoh
2024-01-11 06:28:38 -07:00
committed by GitHub
parent 737152273e
commit fe99ad2593
29 changed files with 4204 additions and 107 deletions

View File

@@ -26,6 +26,19 @@ void MbD::ExternalSystem::preMbDrun(std::shared_ptr<System> mbdSys)
}
}
void MbD::ExternalSystem::updateFromMbD()
{
if (cadSystem) {
cadSystem->updateFromMbD();
}
else if (asmtAssembly) {
asmtAssembly->updateFromMbD();
}
else {
assert(false);
}
}
void MbD::ExternalSystem::outputFor(AnalysisType type)
{
if (cadSystem) {