Skip to content

Commit

Permalink
Break long line with 'spatialDistribution'
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Nov 10, 2020
1 parent e0eacf4 commit 2b0989f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chapters/operatorsandexpressions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,8 @@ \subsubsection{spatialDistribution}\label{spatialdistribution}
The infinite-dimensional problem stated above can then be formulated in the following way:
\begin{lstlisting}[language=modelica]
der(x) = v;
(out0, out1) = spatialDistribution(in0, in1, x, v >= 0, initialPoints, initialValues);
(out0, out1) = spatialDistribution(in0, in1, x, v >= 0,
initialPoints, initialValues);
\end{lstlisting}

Events are generated at the exact instants when the velocity changes sign -- if this is not needed, \lstinline!noEvent! can be used to suppress event generation.
Expand Down

0 comments on commit 2b0989f

Please sign in to comment.