Skip to content

Commit

Permalink
Rewrite item list with all items in stand-alone form
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Jul 14, 2020
1 parent db68944 commit b889666
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions chapters/functions.tex
Expand Up @@ -308,26 +308,23 @@ \section{Pure Modelica Functions}\doublelabel{pure-modelica-functions}
from within:
\begin{itemize}
\item
another function marked with the prefix \lstinline!impure!
Another function marked with the prefix \lstinline!impure!.
\item
a when-equation,
A when-equation.
\item
a when-statement,
A when-statement.
\item
\lstinline!pure(impureFunctionCall($\ldots$))! --- which allows calling impure
functions in any pure context,
\lstinline!pure(impureFunctionCall($\ldots$))! --- which allows calling impure functions in any pure context.
\item
in initial equations and initial algorithms,
Initial equations and initial algorithms.
\item
in binding equations for components declared as parameter -- which is seen as
syntactic sugar for having a parameter with \lstinline!fixed=false! and the
binding as an initial equation.
Binding equations for components declared as parameter --- which is seen as syntactic sugar for having a parameter with \lstinline!fixed=false! and the binding as an initial equation.
\begin{nonnormative}
Thus, evaluation of the same function call at a later time during simulation is not guaranteed to result in the same value as when the parameter
was initialized, seemingly breaking the declaration equation.
\end{nonnormative}
\item
in binding equations for external objects.
Binding equations for external objects.
\end{itemize}

For initial equations, initial algorithms, and bindings it is an error
Expand Down

0 comments on commit b889666

Please sign in to comment.