Skip to content

Commit

Permalink
- start to convert tables to c-style
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@10461 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Jens Frenkel committed Nov 12, 2011
1 parent c13417a commit 1ef7611
Show file tree
Hide file tree
Showing 4 changed files with 376 additions and 304 deletions.
6 changes: 3 additions & 3 deletions SimulationRuntime/c/ModelicaExternalC/ModelicaTablesImpl.c
Expand Up @@ -27,7 +27,7 @@ int ModelicaTables_CombiTimeTable_init(const char* tableName, const char* fileNa

void ModelicaTables_CombiTimeTable_close(int tableID)
{
;
omcTableTimeIpoClose(tableID);
};

double ModelicaTables_CombiTimeTable_interpolate(int tableID, int icol, double u)
Expand Down Expand Up @@ -59,7 +59,7 @@ int ModelicaTables_CombiTable1D_init(const char* tableName, const char* fileName

void ModelicaTables_CombiTable1D_close(int tableID)
{
;
omcTableTimeIpoClose(tableID);
};

double ModelicaTables_CombiTable1D_interpolate(int tableID, int icol, double u) {
Expand All @@ -80,7 +80,7 @@ int ModelicaTables_CombiTable2D_init(const char* tableName, const char* fileName

void ModelicaTables_CombiTable2D_close(int tableID)
{
;
omcTable2DIpoClose(tableID);
};

double ModelicaTables_CombiTable2D_interpolate(int tableID, double u1, double u2)
Expand Down

0 comments on commit 1ef7611

Please sign in to comment.