Skip to content

Commit

Permalink
fix: minor corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-schmitt committed Nov 5, 2023
1 parent f176d35 commit 5e77a56
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ thesis: main.tex
lualatex -shell-escape main.tex
biber main
lualatex -shell-escape main.tex
lualatex -shell-escape main.tex
2 changes: 1 addition & 1 deletion contents/basic_iterative_methods.tex
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ \subsection{Jacobi and Gauss-Seidel}
\label{eq:general-preconditioned-system-of-linear-equations}
\end{equation}
which represents a modified version of Equation~\eqref{eq:general-system-of-linear-equations}, that is obtained by multiplying each side of the equation by the inverse of a matrix $M$.
By the rules of linear algebra, Equation~\ref{eq:general-preconditioned-system-of-linear-equations} is equivalent to the original system and, therefore, has the same solution.
By the rules of linear algebra, Equation~\eqref{eq:general-preconditioned-system-of-linear-equations} is equivalent to the original system and, therefore, has the same solution.
However, it can also be considered as a left-preconditioned version of Equation~\eqref{eq:general-system-of-linear-equations}, with $M$ as a preconditioner.
Considering again the fixed point of Equation~\eqref{eq:general-preconditioned-system-of-linear-equations} yields the iteration
\begin{equation}
Expand Down
2 changes: 1 addition & 1 deletion contents/discretization_of_pdes.tex
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ \subsection{Stencil Codes}
\{(\bm{a} + \bm{\hat{a}}, b \cdot \hat{b} ) \} \; + & \text{if} \; A = \{(\bm{a}, b ) \} \cup \tilde{A} \\
\{(\bm{a}, b ) \} \cdot \tilde{B} + \tilde{A} \cdot B &
\text{and} \; B = \{(\bm{\hat{a}}, \hat{b} ) \} \cup \tilde{B} \\ & \\
\emptyset & \text{if} \; A = \emptyset \vee B = \emptyset
\emptyset & \text{else} %\text{if} \; A = \emptyset \vee B = \emptyset
\end{cases}
\label{eq:stencil-mult}
\end{equation}
Expand Down
1 change: 1 addition & 0 deletions scripts/stencils.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def mult(s1: set, s2: set):

s1 = {(0, 2), (1, -1), (-1, -1)}
s2 = {(0, 2), (1, -1), (-1, -1)}
# s2 = {(0, 4), (1, -1), (-1, -1), (2, -1), (-2, -1)}
s1_ = s1.copy()
s2_ = s2.copy()
tmp0 = add(s1_, s2_)
Expand Down

0 comments on commit 5e77a56

Please sign in to comment.