dime

Note

This command has been ported to the new APBS syntax (see YAML- and JSON-format input files); see GridDimensions for more information.

Specifies the number of grid points per processor for grid-based discretization. The syntax is:

dime {nx ny nz}

For mg-manual calculations, the arguments are dependent on the choice of nlev by the formula: \(n = c 2^{l + 1} + 1\) where n is the dime argument, c is a non-zero integer, l is the nlev value. The most common values for grid dimensions are 65, 97, 129, and 161 (they can be different in each direction); these are all compatible with a nlev value of 4. If you happen to pick a “bad” value for the dimensions (i.e., mismatch with nlev), the APBS code will adjust the specified dime downwards to more appropriate values. This means that “bad” values will typically result in lower resolution/accuracy calculations! The arguments for this keyword are:

nx ny nz
The (integer) number of grid points in the x-, y-, and z-directions, respectively.

Note

dime should be interpreted as the number of grid points per processor for all calculations, including mg-para. This interpretation helps manage the amount of memory per-processor - generally the limiting resource for most calculations.