Skip to content

Commit

Permalink
- change some description strings
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@16940 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
lochel committed Aug 28, 2013
1 parent f4bd012 commit a164f0a
Show file tree
Hide file tree
Showing 26 changed files with 146 additions and 264 deletions.
6 changes: 2 additions & 4 deletions Compiler/BackEnd/BackendDAECreate.mo
Original file line number Diff line number Diff line change
Expand Up @@ -708,8 +708,7 @@ algorithm
end lowerKnownVar;

protected function inlineExpOpt
"function inlineExpOpt
author Frenkel TUD 2013-02"
"author Frenkel TUD 2013-02"
input Option<DAE.Exp> iOptExp;
input Functiontuple fnstpl;
input DAE.ElementSource iSource;
Expand All @@ -732,8 +731,7 @@ algorithm
end inlineExpOpt;

protected function inlineExpOpt1
"function inlineExpOpt
author Frenkel TUD 2013-02"
"author Frenkel TUD 2013-02"
input DAE.Exp iExp;
input Functiontuple fnstpl;
input DAE.ElementSource iSource;
Expand Down
3 changes: 1 addition & 2 deletions Compiler/BackEnd/BackendDAEUtil.mo
Original file line number Diff line number Diff line change
Expand Up @@ -2756,8 +2756,7 @@ end matchcontinue;
end traversingcollateArrExpStmt;

public function collateArrExpList
"function collateArrExpList
author Frenkel TUD:
" author Frenkel TUD:
replace {a[1],a[2],a[3]} for Real a[3] with a"
input list<DAE.Exp> iexpl;
input Option<DAE.FunctionTree> optfunc;
Expand Down
12 changes: 4 additions & 8 deletions Compiler/BackEnd/BackendEquation.mo
Original file line number Diff line number Diff line change
Expand Up @@ -1094,8 +1094,7 @@ algorithm
end traverseBackendDAEExpsEqnOutEqnIfEqns;

public function traverseBackendDAEExpList
"function traverseBackendDAEExps
author Frenkel TUD:
" author Frenkel TUD:
Calls user function for each element of list."
replaceable type Type_a subtypeof Any;
input list<DAE.Exp> inExpl;
Expand All @@ -1122,8 +1121,7 @@ algorithm
end traverseBackendDAEExpList;

public function traverseBackendDAEExpListWithStop
"function traverseBackendDAEExpListWithStop
author Frenkel TUD:
" author Frenkel TUD:
Calls user function for each element of list."
replaceable type Type_a subtypeof Any;
input list<DAE.Exp> inExpl;
Expand Down Expand Up @@ -1151,8 +1149,7 @@ algorithm
end traverseBackendDAEExpListWithStop;

public function traverseBackendDAEEqnsList
"function traverseBackendDAEEqnsList
author Frenkel TUD:
" author Frenkel TUD:
Calls user function for each element of list."
replaceable type Type_a subtypeof Any;
input list<BackendDAE.Equation> inEqns;
Expand Down Expand Up @@ -2329,8 +2326,7 @@ algorithm
end aliasEquation2;

// protected function aliasArray
// "function aliasArray
// author Frenkel TUD 2011-04
// "// author Frenkel TUD 2011-04
// helper for aliasEquation"
// input DAE.ComponentRef cr;
// input Boolean negate;
Expand Down
3 changes: 1 addition & 2 deletions Compiler/BackEnd/BackendVariable.mo
Original file line number Diff line number Diff line change
Expand Up @@ -2065,8 +2065,7 @@ end varSortFunc;


public function getAlias
" function getAlias
author: Frenkel TUD 2012-11
" author: Frenkel TUD 2012-11
returns the original Varname of an AliasVar"
input BackendDAE.Var inVar;
output DAE.ComponentRef outCr;
Expand Down
3 changes: 1 addition & 2 deletions Compiler/BackEnd/DumpHTML.mo
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,7 @@ algorithm
end addBodyTags;

public function dumpDocument
"function dumpDocument
author: Frenkel TUD 2011-08
" author: Frenkel TUD 2011-08
print the dokument to file"
input Document inDoc;
input String name;
Expand Down
3 changes: 1 addition & 2 deletions Compiler/BackEnd/HpcOmTaskGraph.mo
Original file line number Diff line number Diff line change
Expand Up @@ -586,8 +586,7 @@ algorithm
end getMappingForComp;


//protected function fillCalcTimeArray "function fillCalcTimeArray
// author: marcusw
//protected function fillCalcTimeArray "// author: marcusw
// Fills the calculation-time-array."
// input Graph igraph;
// input array<Integer> calcTimes;
Expand Down
12 changes: 4 additions & 8 deletions Compiler/BackEnd/IndexReduction.mo
Original file line number Diff line number Diff line change
Expand Up @@ -1752,8 +1752,7 @@ algorithm
end highestOrderDerivatives;

protected function traversinghighestOrderDerivativesFinder
" function traversinghighestOrderDerivativesFinder
author: Frenkel TUD 2012-05
" author: Frenkel TUD 2012-05
helper for highestOrderDerivatives"
input tuple<BackendDAE.Var, tuple<BackendDAE.StateOrder,BackendDAE.Variables,list<BackendDAE.Var>>> inTpl;
output tuple<BackendDAE.Var, tuple<BackendDAE.StateOrder,BackendDAE.Variables,list<BackendDAE.Var>>> outTpl;
Expand Down Expand Up @@ -1791,8 +1790,7 @@ algorithm
end lowerOrderDerivatives;

protected function traversinglowerOrderDerivativesFinder
" function traversinglowerOrderDerivativesFinder
author: Frenkel TUD 2012-05
" author: Frenkel TUD 2012-05
helpber for lowerOrderDerivatives"
input tuple<BackendDAE.Var, tuple<BackendDAE.StateOrder,BackendDAE.Variables,BackendDAE.Variables>> inTpl;
output tuple<BackendDAE.Var, tuple<BackendDAE.StateOrder,BackendDAE.Variables,BackendDAE.Variables>> outTpl;
Expand Down Expand Up @@ -1841,8 +1839,7 @@ algorithm
end higerOrderDerivatives;

protected function traversinghigerOrderDerivativesFinder
" function traversinghigerOrderDerivativesFinder
author: Frenkel TUD 2012-06
" author: Frenkel TUD 2012-06
helpber for higerOrderDerivatives"
input tuple<BackendDAE.Var, tuple<BackendDAE.StateOrder,BackendDAE.Variables,BackendDAE.Variables,list<DAE.ComponentRef>>> inTpl;
output tuple<BackendDAE.Var, tuple<BackendDAE.StateOrder,BackendDAE.Variables,BackendDAE.Variables,list<DAE.ComponentRef>>> outTpl;
Expand Down Expand Up @@ -5107,8 +5104,7 @@ algorithm
end generateSelectEquationsMulti;

protected function makeder
"function makeder
Author: Frenkel TUD 2012-09"
"Author: Frenkel TUD 2012-09"
input DAE.Exp inExp;
output DAE.Exp outExp;
protected
Expand Down
3 changes: 1 addition & 2 deletions Compiler/BackEnd/InlineSolver.mo
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,7 @@ algorithm
end EqSolvedEq;

protected function isDerEq
"function isDereq
author: vitalij
"author: vitalij
true if left site is only a call of der(...)
else false"
input DAE.Exp e1;
Expand Down
3 changes: 1 addition & 2 deletions Compiler/BackEnd/Matching.mo
Original file line number Diff line number Diff line change
Expand Up @@ -4416,8 +4416,7 @@ algorithm
end cheapmatchingalgorithm;

protected function cheapmatchingalgorithm1
"function cheapmatchingalgorithm
author: Frenkel TUD 2012-07"
" author: Frenkel TUD 2012-07"
input Integer algorithmid;
input Integer nv;
input Integer ne;
Expand Down
63 changes: 21 additions & 42 deletions Compiler/BackEnd/OnRelaxation.mo
Original file line number Diff line number Diff line change
Expand Up @@ -2120,8 +2120,7 @@ algorithm
end gaussElimination;

protected function diagonalEntry
" function diagonalEntry
author: Frenkel TUD
" author: Frenkel TUD
check if row has an entry col, if not
then it fails"
input Integer col;
Expand Down Expand Up @@ -2151,8 +2150,7 @@ algorithm
end diagonalEntry;

protected function isConstOneMinusOne
" function isConstOneMinusOne
author: Frenkel TUD
" author: Frenkel TUD
return true if inExp is 1 or -1"
input DAE.Exp inExp;
output Boolean b;
Expand All @@ -2162,8 +2160,7 @@ end isConstOneMinusOne;


protected function transformJacToIncidenceMatrix2
" function transformJacToIncidenceMatrix2
author: Frenkel TUD
" author: Frenkel TUD
transforms only array equations"
input list<tuple<Integer, Integer, BackendDAE.Equation>> jac;
input BackendDAE.IncidenceMatrix m;
Expand Down Expand Up @@ -2202,8 +2199,7 @@ algorithm
end transformJacToIncidenceMatrix2;

protected function transformJacToIncidenceMatrix1
" function transformJacToIncidenceMatrix1
author: Frenkel TUD
" author: Frenkel TUD
transforms only not assigned equations"
input list<tuple<Integer, Integer, BackendDAE.Equation>> jac;
input BackendDAE.IncidenceMatrix m;
Expand Down Expand Up @@ -2237,8 +2233,7 @@ algorithm
end transformJacToIncidenceMatrix1;

protected function transformJacToIncidenceMatrix
" function transformJacToIncidenceMatrix
author: Frenkel TUD"
" author: Frenkel TUD"
input list<tuple<Integer, Integer, BackendDAE.Equation>> jac;
input BackendDAE.IncidenceMatrix m;
input BackendDAE.IncidenceMatrixT mT;
Expand Down Expand Up @@ -2745,8 +2740,7 @@ end getOrphansPairsConstraints1;


protected function getIndexesForEqnsAdvanced
"function getIndexesForEqnsAdvanced
author: Frenkel TUD 2012-07"
" author: Frenkel TUD 2012-07"
input list<Integer> orphans;
input Integer index;
input BackendDAE.IncidenceMatrix m;
Expand Down Expand Up @@ -2903,8 +2897,7 @@ algorithm
end setBoarderElemts;

protected function setIndexQueue
"function setIndexQueue
author: Frenkel TUD 2012-07"
" author: Frenkel TUD 2012-07"
input Integer col;
input tuple<array<list<Integer>>,array<Integer>,array<list<Integer>>,array<Boolean>,array<Integer>,Integer> tpl;
input tuple<Integer,list<Integer>,list<Integer>> itpl;
Expand Down Expand Up @@ -2942,8 +2935,7 @@ algorithm
end setIndexQueue;

protected function getIndexQueque
"function getIndexQueque
author: Frenkel TUD 2012-07"
" author: Frenkel TUD 2012-07"
input list<Integer> colums;
input BackendDAE.IncidenceMatrix m;
input BackendDAE.IncidenceMatrixT mT;
Expand Down Expand Up @@ -3105,8 +3097,7 @@ algorithm
end doMark;

protected function getIndexSubGraph
"function getIndexSubGraph
author: Frenkel TUD 2012-07"
" author: Frenkel TUD 2012-07"
input list<Integer> rows;
input list<Integer> vorphan;
input BackendDAE.IncidenceMatrix m;
Expand Down Expand Up @@ -3175,8 +3166,7 @@ algorithm
end getIndexSubGraph;

protected function markIndexSubgraph
"function markIndexSubgraph
author: Frenkel TUD 2012-07"
" author: Frenkel TUD 2012-07"
input Boolean b;
input list<Integer> r;
input Integer mark;
Expand Down Expand Up @@ -3254,8 +3244,7 @@ algorithm
end markIndexdColums;

protected function getOrphans
"function getOrphans
author: Frenkel TUD 2011-05"
" author: Frenkel TUD 2011-05"
input Integer indx;
input Integer size;
input array<Integer> ass;
Expand All @@ -3279,8 +3268,7 @@ algorithm
end getOrphans;

protected function expHasCref
"function expHasCref
author: Frenkel TUD 2012-05
" author: Frenkel TUD 2012-05
traverses an expression and check if the cref or parents of them are there"
input DAE.Exp inExp;
input DAE.ComponentRef cr;
Expand Down Expand Up @@ -3340,8 +3328,7 @@ algorithm
end addCrefandParentsToSet;

protected function expHasCreftraverser
"function expHasCref
author: Frenkel TUD 2012-05
" author: Frenkel TUD 2012-05
helper for expHasCref"
input tuple<DAE.Exp, tuple<HashSet.HashSet,Boolean>> inTpl;
output tuple<DAE.Exp, Boolean, tuple<HashSet.HashSet,Boolean>> outTpl;
Expand Down Expand Up @@ -3489,8 +3476,7 @@ algorithm
end onefreeMatchingBFS1;

protected function vectorMatching
"function vectorMatching
author: Frenkel TUD 2012-05
" author: Frenkel TUD 2012-05
try to match functions like a = f(...), f(..)=a for
array/complex equations"
input BackendDAE.Equation eqn;
Expand Down Expand Up @@ -3533,8 +3519,7 @@ algorithm
end vectorMatching;

protected function vectorMatching1
"function vectorMatching
author: Frenkel TUD 2012-05
" author: Frenkel TUD 2012-05
try to match functions like a = f(...), f(..)=a for
array/complex equations"
input DAE.Exp e1;
Expand Down Expand Up @@ -3663,8 +3648,7 @@ algorithm
end vectorMatching1;

protected function aliasMatching
"function aliasMatching
author: Frenkel TUD 2011-07"
" author: Frenkel TUD 2011-07"
input BackendDAE.Equation eqn;
input BackendDAE.Variables vars;
input tuple<Integer,array<Integer>,array<Integer>> inTpl;
Expand Down Expand Up @@ -3693,8 +3677,7 @@ algorithm
end aliasMatching;

protected function aliasMatching1
"function aliasMatching1
author: Frenkel TUD 2011-07"
" author: Frenkel TUD 2011-07"
input Integer i1;
input Integer i2;
input Boolean b1;
Expand All @@ -3708,8 +3691,7 @@ algorithm
end aliasMatching1;

protected function naturalMatching
"function naturalMatching
author: Frenkel TUD 2011-05"
" author: Frenkel TUD 2011-05"
input BackendDAE.Equation eqn;
input BackendDAE.Variables vars;
input tuple<Integer,array<Integer>,array<Integer>> inTpl;
Expand Down Expand Up @@ -3737,8 +3719,7 @@ algorithm
end naturalMatching;

protected function naturalMatching1
"function naturalMatching1
author: Frenkel TUD 2011-05"
" author: Frenkel TUD 2011-05"
input BackendDAE.Equation eqn;
input BackendDAE.Variables vars;
input tuple<Integer,array<Integer>,array<Integer>> inTpl;
Expand Down Expand Up @@ -3766,8 +3747,7 @@ algorithm
end naturalMatching1;

protected function naturalMatching2
"function naturalMatching2
author: Frenkel TUD 2011-05"
" author: Frenkel TUD 2011-05"
input BackendDAE.Equation eqn;
input BackendDAE.Variables vars;
input tuple<Integer,array<Integer>,array<Integer>> inTpl;
Expand Down Expand Up @@ -3796,8 +3776,7 @@ algorithm
end naturalMatching2;

protected function getConstOneVariable
"function getConstOneVariable
author: Frenkel TUD 2011-05"
" author: Frenkel TUD 2011-05"
input list<BackendDAE.Var> vlst;
input DAE.Exp e;
input array<Integer> vec1;
Expand Down

0 comments on commit a164f0a

Please sign in to comment.