ASMT output, MBDyn input and output done.

This commit is contained in:
Aik-Siong Koh
2023-11-06 18:00:24 -07:00
parent 34858977b1
commit 678d03db1f
96 changed files with 8806 additions and 4043 deletions

View File

@@ -22,7 +22,7 @@ MbD::Power::Power(Symsptr bse, Symsptr ex) : FunctionXY(bse, ex)
Symsptr MbD::Power::differentiateWRTx()
{
auto yminus1 = Symbolic::sum(y, std::make_shared<Constant>(-1.0));
auto yminus1 = Symbolic::sum(y, sptrConstant(-1.0));
auto power = Symbolic::raisedTo(x, yminus1);
auto deriv = Symbolic::times(y, power);
return deriv->simplified(deriv);
@@ -37,6 +37,7 @@ Symsptr MbD::Power::differentiateWRTy()
Symsptr MbD::Power::simplifyUntil(Symsptr sptr, std::shared_ptr<std::unordered_set<Symsptr>> set)
{
assert(false);
return Symsptr();
}