Skip to content

Commit

Permalink
Extended StateSelection interface in cpp runtime for second A Matrix
Browse files Browse the repository at this point in the history
added agloop solver code to Jacobian class if it has algloops
added initialize method to Jacobian class 
adapted cpp FMU and HPCOM template 

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@19683 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
niklwors committed Mar 21, 2014
1 parent 711af1c commit 835a635
Show file tree
Hide file tree
Showing 13 changed files with 337 additions and 164 deletions.
6 changes: 4 additions & 2 deletions Compiler/BackEnd/SimCode.mo
Expand Up @@ -548,6 +548,7 @@ uniontype Context

record ALGLOOP_CONTEXT
Boolean genInitialisation;
Boolean genJacobian;
end ALGLOOP_CONTEXT;

record JACOBIAN_CONTEXT
Expand All @@ -574,8 +575,9 @@ public constant Context contextSimulationDiscrete = SIMULATION_CONTEXT(true)
public constant Context contextInlineSolver = INLINE_CONTEXT();
public constant Context contextFunction = FUNCTION_CONTEXT();
public constant Context contextJacobian = JACOBIAN_CONTEXT();
public constant Context contextAlgloopInitialisation = ALGLOOP_CONTEXT(true);
public constant Context contextAlgloop = ALGLOOP_CONTEXT(false);
public constant Context contextAlgloopJacobian = ALGLOOP_CONTEXT(false,true);
public constant Context contextAlgloopInitialisation = ALGLOOP_CONTEXT(true,false);
public constant Context contextAlgloop = ALGLOOP_CONTEXT(false,false);
public constant Context contextOther = OTHER_CONTEXT();
public constant Context contextParallelFunction = PARALLEL_FUNCTION_CONTEXT();
public constant Context contextZeroCross = ZEROCROSSINGS_CONTEXT();
Expand Down

0 comments on commit 835a635

Please sign in to comment.