Skip to content

Commit

Permalink
- inner equations of the non-linear solver are updated by the solver
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@23952 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Willi Braun committed Jan 6, 2015
1 parent 23cb85b commit c43f2cd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Compiler/Template/CodegenC.tpl
Expand Up @@ -4020,8 +4020,6 @@ template equationNonlinear(SimEqSystem eq, Context context, Text &varDecls, Stri
}
/* write solution */
<%crefs |> name hasindex i0 => '<%cref(name)%> = data->simulationInfo.nonlinearSystemData[<%indexNonLinearSystem%>].nlsx[<%i0%>];' ;separator="\n"%>
/* update inner equations */
<%innerBody%>
<% if profileSome() then 'SIM_PROF_ACC_EQ(modelInfoGetEquation(&data->modelData.modelDataXml,<%index%>).profileBlockIndex);' %>
>>
end equationNonlinear;
Expand Down

0 comments on commit c43f2cd

Please sign in to comment.