Skip to content

Commit

Permalink
- split up SimCodeUtil.mo in SimCodeMain.mo and SimCodeUtil.mo
Browse files Browse the repository at this point in the history
   - SimCodeMain.mo is the entry module to create SimCode  and
     is the only file that import Codegen* modules, since it 
     took forever to load them.
   - SimCodeUtil.mo contains only public function that are 
     called in SimCodeMain.mo.
   - started to sort functions in SimCodeUtil that belongs together.


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@14458 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Willi Braun committed Dec 18, 2012
1 parent 342c410 commit 900e141
Show file tree
Hide file tree
Showing 7 changed files with 4,491 additions and 4,390 deletions.
4 changes: 2 additions & 2 deletions Compiler/BackEnd/OpenTURNS.mo
Expand Up @@ -57,7 +57,7 @@ import Interactive;
import List;
import Settings;
import SimCode;
import SimCodeUtil;
import SimCodeMain;
import System;
import Util;

Expand Down Expand Up @@ -109,7 +109,7 @@ algorithm

//print("strippedDae :");
//BackendDump.dump(strippedDae);
(_,libs,fileDir,_,_,_) := SimCodeUtil.generateModelCode(strippedDae,inProgram,inDAElist,inPath,cname_str,SOME(simSettings),Absyn.FUNCTIONARGS({},{}));
(_,libs,fileDir,_,_,_) := SimCodeMain.generateModelCode(strippedDae,inProgram,inDAElist,inPath,cname_str,SOME(simSettings),Absyn.FUNCTIONARGS({},{}));

//print("..compiling, fileNamePrefix = "+&fileNamePrefix+&"\n");
CevalScript.compileModel(fileNamePrefix , libs, fileDir, "", "");
Expand Down

0 comments on commit 900e141

Please sign in to comment.