Skip to content

Commit

Permalink
- push current status for tds
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@20890 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Volker Waurich committed May 29, 2014
1 parent f90dc5b commit 5082112
Show file tree
Hide file tree
Showing 3 changed files with 715 additions and 34 deletions.
17 changes: 17 additions & 0 deletions Compiler/BackEnd/BackendDAEUtil.mo
Expand Up @@ -1829,6 +1829,23 @@ algorithm
end match;
end systemSize;

public function numOfComps "Returns the number of StrongComponents in the EqSystem
author: waurich TUD"
input BackendDAE.EqSystem syst;
output Integer num;
algorithm
num:=
match (syst)
local
BackendDAE.StrongComponents comps;
Integer n;
case BackendDAE.EQSYSTEM(matching = BackendDAE.MATCHING(comps = comps))
equation
n = listLength(comps);
then n;
end match;
end numOfComps;

public function equationSize "author: PA

Returns the size of the equations in an EquationArray, which not
Expand Down

0 comments on commit 5082112

Please sign in to comment.