Skip to content

Commit

Permalink
- marked some functions as protected
Browse files Browse the repository at this point in the history
- removed a few unused variables


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@22924 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
lochel committed Oct 24, 2014
1 parent c333452 commit 3c69a09
Show file tree
Hide file tree
Showing 4 changed files with 374 additions and 444 deletions.
2 changes: 1 addition & 1 deletion Compiler/BackEnd/BackendDAETransform.mo
Expand Up @@ -313,7 +313,7 @@ algorithm
end matchcontinue;
end strongComponents;

public function analyseStrongComponents"author: Frenkel TUD 2011-05
protected function analyseStrongComponents"author: Frenkel TUD 2011-05
analyse the type of the strong connect components and
calculate the jacobian."
input list<list<Integer>> inComps;
Expand Down
4 changes: 2 additions & 2 deletions Compiler/BackEnd/BackendInline.mo
Expand Up @@ -229,7 +229,7 @@ algorithm
end match;
end inlineEqOpt;

public function inlineEq "
protected function inlineEq "
inlines function calls in equations"
input BackendDAE.Equation inEquation;
input Inline.Functiontuple fns;
Expand Down Expand Up @@ -503,7 +503,7 @@ algorithm
end match;
end inlineVarOpt;

public function inlineVar
protected function inlineVar
"functio: inlineVar
inlines calls in a variable"
input BackendDAE.Var inVar;
Expand Down
27 changes: 1 addition & 26 deletions Compiler/BackEnd/Causalize.mo
Expand Up @@ -55,33 +55,8 @@ protected import Flags;
protected import List;
protected import Matching;

/*
* types
*
*
*
*/

public partial function stateDeselectionFunc
input BackendDAE.BackendDAE inDAE;
input list<Option<BackendDAE.StructurallySingularSystemHandlerArg>> inArgs;
output BackendDAE.BackendDAE outDAE;
end stateDeselectionFunc;

protected type DAEHandler = tuple<BackendDAEFunc.StructurallySingularSystemHandlerFunc,String,stateDeselectionFunc,String>;

/*
* public part
*
*
*
*/

/*
* protected part
*
*/

protected type DAEHandler = tuple<BackendDAEFunc.StructurallySingularSystemHandlerFunc,String,BackendDAEFunc.stateDeselectionFunc,String>;


/*****************************************
Expand Down

0 comments on commit 3c69a09

Please sign in to comment.