Changeset e300053c in OpenModelica
- Timestamp:
- 2020-03-20T12:25:33+01:00 (4 years ago)
- Parents:
- 7549194
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo
r7549194 re300053c 2488 2488 BackendDAE.JacobianType fullJacType; 2489 2489 2490 /* No de ndencies -> constant jacobian */2490 /* No dependencies -> constant jacobian */ 2491 2491 case (BackendDAE.GENERIC_JACOBIAN(jacobian=SOME((_, _, _, _, _, {}))), _, _) 2492 2492 then BackendDAE.JAC_CONSTANT(); … … 2755 2755 algorithm 2756 2756 strictTearingset := BackendDAE.TEARINGSET(iterationvarsInts, residualequations, {}, BackendDAE.EMPTY_JACOBIAN()); 2757 (jacobian, shared) := calculateTearingSetJacobian(inVars, inEqns, strictTearingset, inShared, false);2757 (jacobian, _) := calculateTearingSetJacobian(inVars, inEqns, strictTearingset, inShared, false); 2758 2758 /* only save jacobian type */ 2759 2759 comp.jac := BackendDAE.FULL_JACOBIAN(NONE()); 2760 2760 comp.jacType := getJacType(jacobian); 2761 then (comp, shared);2761 then (comp, inShared); 2762 2762 2763 2763 // generate symbolic jacobian for a torn system
Note: See TracChangeset
for help on using the changeset viewer.