added ASMT api example runSinglePendulum

This commit is contained in:
Aik-Siong Koh
2023-09-28 15:51:02 -06:00
parent 81513500ab
commit b53cdac5ca
37 changed files with 845 additions and 128 deletions

View File

@@ -58,6 +58,7 @@ void MbD::ASMTConstraintSet::updateFromMbD()
void MbD::ASMTConstraintSet::compareResults(AnalysisType type)
{
if (infxs == nullptr || infxs->empty()) return;
auto mbdUnts = mbdUnits();
auto factor = 1.0e-6;
auto forceTol = mbdUnts->force * factor;
@@ -70,3 +71,7 @@ void MbD::ASMTConstraintSet::compareResults(AnalysisType type)
//assert(Numeric::equaltol(tys->at(i), intys->at(i), torqueTol));
//assert(Numeric::equaltol(tzs->at(i), intzs->at(i), torqueTol));
}
void MbD::ASMTConstraintSet::outputResults(AnalysisType type)
{
}