You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* [NB] update DAE mode jacobians
- update pipeline to only do required DAE mode jacobians and not ODE jacobians
- update pipeline to do modules in DAE mode and remove them from the main DAE module
- remove empty partitions from DAE mode (full discrete)
- when differentiating algebraic loops for jacobians they are known to be linear
- [SimCode] use correct DAE mode jacobian instead of ODE jacobian
- [NB] add missing DAEMode residual variable checks
- works towards #13980
casual :=Util.applyOption(comp.casual, function differentiateTearing(diffArguments_ptr=diffArguments_ptr, idx=idx, context=context, name=name));
224
-
then StrongComponent.ALGEBRAIC_LOOP(-1, strict, casual, comp.linear, false, comp.homotopy, comp.status);
225
+
// if we differentiate for jacobian, the algebraic loops will always be linear
226
+
linear := match Pointer.access(diffArguments_ptr) caseDIFFERENTIATION_ARGUMENTS(diffType =NBDifferentiate.DifferentiationType.JACOBIAN) then true; else comp.linear; end match;
227
+
then StrongComponent.ALGEBRAIC_LOOP(-1, strict, casual, linear, false, comp.homotopy, comp.status);
0 commit comments