Section: AMReX and AMR

Tip

The user is encouraged to refer to the full list of AMReX runtime parameters for more advanced usage. Another section of particular interest is the description of AMReX grid creation.

This section contains some of the common input parameters used by the core AMReX mesh data structure AmrCore to determine the base mesh and adaptive mesh refinement strategies. The refinement criteria is specified through Section: tagging.

amr.n_cell

type: List of 3 integers, mandatory

The number of cells in the coarsest level of AMR hierarchy

amr.max_level

type: Integer, mandatory

The maximum AMR level in the refinement hierarchy.

amr.max_grid_size

type: Integer, optional, default: [build dependent]

Maximum number of cells at level 0 in each grid. There are also options to specify this value in each direction, please refer to AMReX documentation.

amr.blocking_factor

type: Integer, optional, default: 8

Each grid must be divisible by amr.blocking_factor. There are also options to specify this value in each direction, please refer to AMReX documentation.