Skip to content

Commit

Permalink
Move comments above synchronous solver method equations
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Oct 6, 2020
1 parent d54f63b commit b794e71
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions chapters/synchronous.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1227,15 +1227,19 @@ \subsection{Solver Methods}\label{solver-methods}
\dot{x}_{i} &:= f(x_i,u_{c,i},u_{d,i},t_i)
\end{aligned}$
\\ \hline
\lstinline!ImplicitEuler! &
% Vertical positioning of the \multirow is ugly. Any better ideas?
\multirow[c]{2}{*}[-0.7em]{\lstinline!ImplicitEuler!} & Equation system with unknowns: $x_i$, $\dot{x}_i$\\
&
$\begin{aligned}
x_{i} &= x_{i-1}+h\cdot\dot{x}_i \textrm{// equations system with unknowns: } x_i,\dot{x}_i\\
x_{i} &= x_{i-1}+h\cdot\dot{x}_i\\
\dot{x}_{i} &= f(x_i,u_{c,i},u_{d,i},t_i)
\end{aligned}$
\\ \hline
\lstinline!ImplicitTrapezoid! &
% Vertical positioning of the \multirow is ugly. Any better ideas?
\multirow[c]{2}{*}[-0.7em]{\lstinline!ImplicitTrapezoid!} & Equation system with unknowns: $x_i$, $\dot{x}_i$\\
&
$\begin{aligned}
x_{i} &= x_{i-1}+\tfrac{1}{2}h\cdot(\dot{x}_i+\dot{x}_{i-1}) \textrm{// equations system with unknowns: } x_i,\dot{x}_i\\
x_{i} &= x_{i-1}+\tfrac{1}{2}h\cdot(\dot{x}_i+\dot{x}_{i-1})\\
\dot{x}_{i} &= f(x_i,u_{c,i},u_{d,i},t_i)
\end{aligned}$
\\ \hline
Expand Down

0 comments on commit b794e71

Please sign in to comment.