Skip to content

Commit

Permalink
implementation of new Backend inline module
Browse files Browse the repository at this point in the history
  • Loading branch information
vruge committed May 1, 2016
1 parent 5e9854e commit 6ed3a54
Show file tree
Hide file tree
Showing 4 changed files with 678 additions and 14 deletions.
8 changes: 8 additions & 0 deletions Compiler/BackEnd/BackendDAEUtil.mo
Expand Up @@ -492,6 +492,14 @@ algorithm
outSystem := BackendDAE.EQSYSTEM(vars, eqns, m, mt, matching, inSystem.stateSets, inSystem.partitionKind, removedEqs);
end copyEqSystem;

public function mergeEqSystems
input BackendDAE.EqSystem System1;
input output BackendDAE.EqSystem System2;
algorithm
System2.orderedEqs := BackendEquation.mergeEquationArray(System1.orderedEqs,System2.orderedEqs);
System2.orderedVars := BackendVariable.mergeVariables(System1.orderedVars,System2.orderedVars);
end mergeEqSystems;

public function copyBackendDAEShared
" author: Frenkel TUD, wbraun
Copy the shared part of an BackendDAE to avoid changes in
Expand Down

0 comments on commit 6ed3a54

Please sign in to comment.