The $gridshift block
The $gridshift block sets up the routine for the grid-shifting procedure.
This block can appear only once in the input file.
The input parameters that are set in this block are listed below.
Block parameters
Parameter
Value Type
Description
Remarks
type
string
(Optional) The type of grid-shifting procedure (default value is
default- see Grid Shifting).maxshifts
numerical
(Mergeable) The maximum number of grid-shifting iterations.
Setting it to zero disables grid-shifting.
Type default
Parameter
Value Type
Description
Remarks
margins
List[numerical]
(Mergeable) The margins \(\delta_i\) and \(\Delta_i\) for each grid dimension \(i\). The values should be listed in the order \(\delta_1\), \(\Delta_1\), \(\delta_2\), \(\Delta_2\), \(\cdots\), \(\delta_D\), \(\Delta_D\).
ncut
numerical
(Mergeable) The value of \(n_\text{cut}\).
Note
Parameters that are not listed above can also be supplied.
They are not recognized by the program in any special way, but are
parsed and made available in the Customization API,
together with all the other block parameters, as an
InputParameters
object.
Example
See Tutorial for a commented example.