Skip to content

Commit 7f90e9c

Browse files
committed
Fix the incorrect index for v-point in the doc
1 parent 41e8f2a commit 7f90e9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/framework/_Horizontal_indexing.dox

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ For example, when a loop is over h-points collocated variables
2525
- the do-loop statements will be for lower-case `i,j` variables
2626
- references to h-point variables will be `h(i,j)`, `D(i+1,j)`, etc.
2727
- references to u-point variables will be `u(I,j)` (meaning \f$u_{i+\frac{1}{2},j}\f$), `u(I-1,j)` (meaning \f$u_{i-\frac{1}{2},j}\f$), etc.
28-
- references to v-point variables will be `v(i,J)` (meaning \f$v_{i,j+\frac{1}{2}}\f$), `u(I-1,j)` (meaning \f$u_{i,j-\frac{1}{2}}\f$), etc.
28+
- references to v-point variables will be `v(i,J)` (meaning \f$v_{i,j+\frac{1}{2}}\f$), `v(i,J-1)` (meaning \f$v_{i,j-\frac{1}{2}}\f$), etc.
2929
- references to q-point variables will be `q(I,J)` (meaning \f$q_{i+\frac{1}{2},j+\frac{1}{2}}\f$), etc.
3030

3131
In contrast, when a loop is over u-points collocated variables
3232
- the do-loop statements will be for upper-case `I` and lower-case `j` variables
33-
- the expression \f$ u_{i+\frac{1}{2},j} ( h_{i,j} + h_{i+1,j} ) \f$ is `u(I,j) * ( h(i,j) + h(i+1,j)`.
33+
- the expression \f$ u_{i+\frac{1}{2},j} ( h_{i,j} + h_{i+1,j} ) \f$ is `u(I,j) * ( h(i,j) + h(i+1,j) )`.
3434

3535

3636
\section section_Memory Declaration of variables

0 commit comments

Comments
 (0)