The number of processors is read in through namelist as variable
.
The model domain is divided into
pieces with each piece containing the same number12.5 of latitude rows. Each processor is
assigned the task of working on its own piece of the domain starting
with latitude index
jrow=jstask and ending with latitude index
jrow=jetask. Each processor has its own memory window to process
only those latitude rows within its own task. The starting and ending
rows of each processor's task are given by
| jstask | = | (12.1) | |
| jetask | = | (12.2) |
where pn is the processor number
(
), the number of buffer rows ``jbuf'' is
explained in Section 11.3.1, and
| (12.3) |
The latitude rows for which the tracer and baroclinic equations are solved within the processor's task are controlled by the starting and stopping rows
| jscomp | = | jstask + jbuf | (12.4) |
| jecomp | = | jetask - jbuf | (12.5) |