@@ -25,12 +25,12 @@ For example, when a loop is over h-points collocated variables
25
25
- the do-loop statements will be for lower-case `i,j` variables
26
26
- references to h-point variables will be `h(i,j)`, `D(i+1,j)`, etc.
27
27
- 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.
29
29
- references to q-point variables will be `q(I,J)` (meaning \f$q_{i+\frac{1}{2},j+\frac{1}{2}}\f$), etc.
30
30
31
31
In contrast, when a loop is over u-points collocated variables
32
32
- 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) ) `.
34
34
35
35
36
36
\section section_Memory Declaration of variables
0 commit comments