Skip to content

Commit

Permalink
Added IStepEvent
Browse files Browse the repository at this point in the history
extended cpp template for symbolic initialization system
fix in event iteration 

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@15746 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
niklwors committed Apr 5, 2013
1 parent 8d7fa0e commit 276750e
Show file tree
Hide file tree
Showing 28 changed files with 513 additions and 350 deletions.
5 changes: 4 additions & 1 deletion Compiler/BackEnd/SimCode.mo
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,9 @@ uniontype Context
end SIMULATION;
record FUNCTION_CONTEXT
end FUNCTION_CONTEXT;

record ALGLOOP_CONTEXT
Boolean genInitialisation;
end ALGLOOP_CONTEXT;
record OTHER
end OTHER;
Expand All @@ -549,7 +551,8 @@ public constant Context contextSimulationNonDiscrete = SIMULATION(false);
public constant Context contextSimulationDiscrete = SIMULATION(true);
public constant Context contextInlineSolver = INLINE_CONTEXT();
public constant Context contextFunction = FUNCTION_CONTEXT();
public constant Context contextAlgloop = ALGLOOP_CONTEXT();
public constant Context contextAlgloopInitialisation = ALGLOOP_CONTEXT(true);
public constant Context contextAlgloop = ALGLOOP_CONTEXT(false);
public constant Context contextOther = OTHER();
public constant Context contextParallelFunction = PARALLEL_FUNCTION_CONTEXT();
public constant Context contextZeroCross = ZEROCROSSINGS_CONTEXT();
Expand Down

0 comments on commit 276750e

Please sign in to comment.