Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
From review

Co-authored-by: Henrik Tidefelt <henrikt@wolfram.com>
Co-authored-by: Elena Shmoylova <eshmoylova@users.noreply.github.com>
  • Loading branch information
3 people committed Apr 12, 2022
1 parent ae1dafb commit 9f3f9ad
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions chapters/annotations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -383,10 +383,8 @@ \section{Annotations for Simulations}\label{annotations-for-simulations}
\end{center}

\begin{annotationdefinition}[experiment]
% henrikt-ma 2021-04: Seems strange to allow 'experiment' completely without list of options -- what would it mean?

\begin{synopsis}[grammar]\begin{lstlisting}
annotation "experiment" "(" experimentModfiers ")"
annotation "experiment" "(" experimentModifiers ")"
\end{lstlisting}\end{synopsis}
\begin{semantics}
The modifiers are for the the following record.
Expand All @@ -400,7 +398,6 @@ \section{Annotations for Simulations}\label{annotations-for-simulations}
\end{lstlisting}
The \lstinline!experiment! annotation defines the default start time (\lstinline!StartTime!) in {[}s{]}, the default stop time (\lstinline!StopTime!) in {[}s{]}, the suitable time resolution for the result grid (\lstinline!Interval!) in {[}s{]}, and the default relative integration tolerance (\lstinline!Tolerance!) for simulation experiments to be carried out with the model or block at hand.
If \lstinline!StartTime! is not specified it is assumed to be \lstinline!0.0!.
Tools should use appropriate defaults for \lstinline!Interval! and \lstinline!Tolerance!.
\end{semantics}
\end{annotationdefinition}

Expand Down

0 comments on commit 9f3f9ad

Please sign in to comment.