Skip to content

Commit

Permalink
- Fix compilation + tabs
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@8739 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Apr 22, 2011
1 parent 632de65 commit b786569
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Compiler/BackEnd/BackendQSS.mo
Expand Up @@ -299,7 +299,7 @@ end generateStructureCodeQSS;

protected function fillZeroCrossIncidenceMat
"function: fillZeroCrossIncidenceMat
generates an Incidence Matrix only for the zero-crossing equations.
generates an Incidence Matrix only for the zero-crossing equations.
author: XF
"
input list<BackendDAE.ZeroCrossing> zc1;
Expand Down Expand Up @@ -344,7 +344,7 @@ end fillZeroCrossIncidenceMat;
public function getWhenReinitClausesInfo
"function: getListOfWhenClauses
extracts the list of when-clauses in the model (equivalently the number of when blocks in the
DEVS structure.
DEVS structure.
author: XF
"
input Integer loopIndex;
Expand All @@ -362,7 +362,7 @@ public function getWhenReinitClausesInfo
output list<Integer> whenReinitOutVars;

algorithm
(whensWithReinits, whenReinitIncidenceMatList, mappedEqReinitList,whenReinitOutVars) :=
(whenReinitClausesInd, whenReinitIncidenceMatList, mappedEqReinitMatList, whenReinitOutVars) :=
matchcontinue (loopIndex, ind_whenBlocks_start, wcIn, vars, tempOutListWhens, tempOutIncidenceMat, tempOutMapped,tempOutVars)
local

Expand Down Expand Up @@ -409,7 +409,7 @@ end getWhenReinitClausesInfo;
public function getWhenReinitClausesInfo2
"function: getListOfWhenClauses
extracts the list of when-clauses in the model (equivalently the number of when blocks in the
DEVS structure.
DEVS structure.
author: XF
"
input Integer whenIndex;
Expand All @@ -424,7 +424,7 @@ public function getWhenReinitClausesInfo2
output list<Integer> whenReinitOutVars;

algorithm
(whensWithReinits, whenReinitIncidenceMatList, mappedEqReinitList,whenReinitOutVars) :=
(whenReinitIncidenceMatList, mappedEqReinitMatList,whenReinitOutVars) :=
matchcontinue (whenIndex, cur_ReinitList, vars, tempOutIncidenceMat, tempOutMapped, tempOutVars)
local
list<BackendDAE.WhenOperator> rest_reinits;
Expand Down Expand Up @@ -470,7 +470,7 @@ end getWhenReinitClausesInfo2;
public function getWhenEqClausesInfo
"function: getWhenClausesInfo
returns the indices of equations inside whens (when-clauses), the corresponding indices
of the when-clauses and the modified incidenceMat for the when-clauses.
of the when-clauses and the modified incidenceMat for the when-clauses.
author: XF
"
input BackendDAE.BackendDAE dlow;
Expand Down Expand Up @@ -507,7 +507,7 @@ algorithm
matchcontinue(eqns, vars)
case(eqns,vars)
equation
(eqInd, whenClauseInd, whenIncidenceMatList) = whenEquationsIndices2(1,BackendDAEUtil.equationSize(eqns),eqns, vars,{});
(eqInd, whenClauseInd, whenIncidenceMatList) = whenEquationsIndices2(1,BackendDAEUtil.equationSize(eqns),eqns, vars,{});
then (eqInd, whenClauseInd, whenIncidenceMatList);
end matchcontinue;
end whenEquationsIndices;
Expand Down

0 comments on commit b786569

Please sign in to comment.