Skip to content

Commit 1bed6c1

Browse files
committed
fix a index typo
1 parent 4933e53 commit 1bed6c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

incompressible/incompressible.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ \subsection{Approximate projection}
594594
cell-centered. This means that we must have
595595
\begin{eqnarray}
596596
(G\phi)^{(x)}_{i,j} &=& \frac{\phi_{i+1,j} - \phi_{i-1,j}}{2\Delta x} \\
597-
(G\phi)^{(y)}_{i,j} &=& \frac{\phi_{i,j+1} - \phi_{i,j+1}}{2\Delta y}
597+
(G\phi)^{(y)}_{i,j} &=& \frac{\phi_{i,j+1} - \phi_{i,j-1}}{2\Delta y}
598598
\end{eqnarray}
599599
The resulting Laplacian would then be a 5-point stencil that skips over
600600
the immediate neighbors:

0 commit comments

Comments
 (0)