Skip to content

Commit

Permalink
Improve Docs on max_grid_size/blocking_factor for RZ (ECP-WarpX#3221)
Browse files Browse the repository at this point in the history
  • Loading branch information
EZoni authored Jul 8, 2022
1 parent 7b16560 commit 70c852f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Docs/source/usage/workflows/parallelization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ AMReX ``max_grid_size`` and ``blocking_factor``

You can use the parameters above if you want the same number of cells in all directions.
Or you can set ``amr.max_grid_size_x``, ``amr.max_grid_size_y`` and ``amr.max_grid_size_z``;
 ``amr.blocking_factor_x``, ``amr.blocking_factor_x`` and ``amr.blocking_factor_x`` to different numbers of cells.
 ``amr.blocking_factor_x``, ``amr.blocking_factor_y`` and ``amr.blocking_factor_z`` to different numbers of cells.
Note that, in RZ geometry, the parameters corresponding to the longitudinal direction are ``amr.max_grid_size_y`` and ``amr.blocking_factor_y``.

The total number of **grids** is determined using those two restrictions and the number of
ranks used to run the simulation. You can visit `AMReX <https://amrex-codes.github.io/amrex/docs_html/GridCreation.html?highlight=blocking_factor>`_
Expand Down

0 comments on commit 70c852f

Please sign in to comment.