Skip to content

Commit 1e77d8b

Browse files
author
Jens Frenkel
committed
- move tearing to Tearing.mo, add new tearing methods, not yet finished
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@14815 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent 9e05358 commit 1e77d8b

File tree

8 files changed

+4476
-2456
lines changed

8 files changed

+4476
-2456
lines changed

Compiler/BackEnd/BackendDAEOptimize.mo

Lines changed: 91 additions & 2442 deletions
Large diffs are not rendered by default.

Compiler/BackEnd/BackendDAEUtil.mo

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ protected import OnRelaxation;
8686
protected import RemoveSimpleEquations;
8787
protected import SCode;
8888
protected import System;
89+
protected import Tearing;
8990
protected import Types;
9091
protected import Values;
9192

@@ -8571,7 +8572,6 @@ algorithm
85718572
(BackendDAEOptimize.removeUnusedParameter,"removeUnusedParameter",false),
85728573
(BackendDAEOptimize.removeUnusedVariables,"removeUnusedVariables",false),
85738574
(BackendDAEOptimize.constantLinearSystem,"constantLinearSystem",false),
8574-
(BackendDAEOptimize.tearingSystemNew,"tearingSystem",false),
85758575
(OnRelaxation.relaxSystem,"relaxSystem",false),
85768576
(BackendDAEOptimize.removeevaluateParameters,"removeevaluateParameters",false),
85778577
(BackendDAEOptimize.countOperations,"countOperations",false),
@@ -8586,7 +8586,8 @@ algorithm
85868586
(BackendDAEOptimize.removeConstants,"removeConstants",false),
85878587
(BackendDAEOptimize.optimizeInitialSystem,"optimizeInitialSystem",false),
85888588
(BackendDAEOptimize.detectSparsePatternODE,"detectJacobianSparsePattern",false),
8589-
(BackendDAEOptimize.partitionIndependentBlocks, "partitionIndependentBlocks", true)
8589+
(BackendDAEOptimize.partitionIndependentBlocks, "partitionIndependentBlocks", true),
8590+
(Tearing.tearingSystem, "tearingSystem", false)
85908591
};
85918592
strPastOptModules := getPastOptModulesString();
85928593
strPastOptModules := Util.getOptionOrDefault(ostrPastOptModules,strPastOptModules);

0 commit comments

Comments
 (0)