Skip to content

Commit 7a72421

Browse files
committed
Update text api_domain
1 parent 09667bb commit 7a72421

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/source/pages/api_domain.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,10 @@ using the following call
138138

139139
call decomp_2d_init(nx, ny, nz, p_row, p_col)
140140

141-
where nx, ny and nz are the size of 3D global data to be distributed over a 2D processor grid p_row*p_col.
142-
Note that none of the dimensions need to be divisible by p_row or p_col, i.e. the library can handle non-evenly distributed data.
143-
In case of p_row=p_col=0 an automatic decomposition is selected among all possible combination available.
141+
where ``nx``, ``ny`` and ``nz`` are the size of 3D global data to be distributed over
142+
a 2D processor grid :math:`p_row \times p_col`.
143+
Note that none of the dimensions need to be divisible by ``p_row`` or ``p_col``, i.e. the library can handle non-evenly distributed data.
144+
In case of ``p_row=p_col=0`` an automatic decomposition is selected among all possible combination available.
144145
The algorithm will choose the closest combination such as
145146

146147
.. math::

0 commit comments

Comments
 (0)