Skip to content

Commit

Permalink
[Janitor mode] Fix whitespace
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@23432 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Nov 18, 2014
1 parent 52695a0 commit 0c218ae
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Compiler/BackEnd/HpcOmEqSystems.mo
Expand Up @@ -369,21 +369,21 @@ algorithm
//BackendDump.dumpEquationList(resEqsOut,"resEqsOut");
//BackendDump.dumpVarList(addVarLst,"addVarLst");
//BackendDump.dumpEquationList(addEqLst,"addEqLst");

eqsNewOut := listAppend(eqsNewOut,addEqLst);
varsNewOut := listAppend(varsNewOut,addVarLst);
//BackendDump.dumpVarList(varsNewOut,"varsNew");
//BackendDump.dumpEquationList(eqsNewOut,"eqsNew");


// gather all additional equations and match them (not including the new residual equation)
matchingNew := buildSingleEquationSystem(compSize,eqsNewOut,varsNewOut,ishared,{});
BackendDAE.MATCHING(ass1=ass1New, ass2=ass2New, comps=compsNew) := matchingNew;
compsNew := List.map2(compsNew,updateIndicesInComp,listLength(varLst),listLength(eqLst));
oComps := listAppend(compsNew,compsEqSys);
matchingOut := BackendDAE.MATCHING(ass1New,ass2New,oComps);
//BackendDump.dumpComponents(oComps);

//printPartLinTornInfo(tcrs,reqns,otherEqnsLst,ovcrs,xa_i_lst,g_i_lst,r_i_lst,h_i_lst,a_i_lst,hs_i_lst,hs,compsNew);
end reduceLinearTornSystem2;

Expand Down Expand Up @@ -1360,7 +1360,7 @@ algorithm
//dumpMatrix(matrixAT);
detA = determinant(matrixA);
//print("detA "+ExpressionDump.printExpStr(detA)+"\n");
detLst = List.map2(List.intRange(dim),CramerRule1,system,matrixAT);
detLst = List.map2(List.intRange(dim),CramerRule1,system,matrixAT);
//print("detLst \n"+stringDelimitList(List.map(detLst,ExpressionDump.printExpStr),"\n")+"\n");
varExp = List.map(arrayList(vectorX),BackendVariable.varExp);
detLst = List.map1(detLst,function Expression.makeBinaryExp(inOp = DAE.DIV(ty=DAE.T_ANYTYPE_DEFAULT)),detA);
Expand Down Expand Up @@ -1501,7 +1501,7 @@ protected function EqSysRowString
protected
String s1,s2,s3;
algorithm
s1 := "{ "+stringDelimitList(List.map(Arow,ExpressionDump.printExpStr)," \t ") + "} ";
s1 := "{ "+stringDelimitList(List.map(Arow,ExpressionDump.printExpStr)," \t ") + "} ";
s2 := "{ " +ComponentReference.printComponentRefStr(BackendVariable.varCref(x))+" } ";
s3 := " = { "+ExpressionDump.printExpStr(b)+" }";
s:=s1+s2+s3;
Expand All @@ -1514,7 +1514,7 @@ protected
String s;
algorithm
sLst := List.map(arrayList(matrix),ExpressionDump.printExpListStr);
s := "{ "+stringDelimitList(sLst," \n ") + "} \n";
s := "{ "+stringDelimitList(sLst," \n ") + "} \n";
print(s);
end dumpMatrix;

Expand Down

0 comments on commit 0c218ae

Please sign in to comment.