ASMT output, MBDyn input and output done.

This commit is contained in:
Aik-Siong Koh
2023-11-06 18:00:24 -07:00
parent 19ec0259b9
commit 11a5cff30b
96 changed files with 8466 additions and 4042 deletions

View File

@@ -18,9 +18,9 @@ IndependentVariable::IndependentVariable()
Symsptr MbD::IndependentVariable::differentiateWRT(Symsptr var)
{
if (this == var.get()) {
return std::make_shared<Constant>(1.0);
return sptrConstant(1.0);
}
else {
return std::make_shared<Constant>(0.0);
return sptrConstant(0.0);
}
}