ASMT output, MBDyn input and output done.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user