Mesh
Name MeshIndexType
Section Mesh
Type integer
Default idx_cubic
Determine index type. Must be the same for restarting a calculation.
Options:
- idx_cubic:
Cubic indices are used to map the spatial information to the grid points.
- idx_hilbert:
A Hilbert space-filling curve is used to map the spatial information to
the grid points.
Name MultigridLevels
Section Mesh
Type integer
Default max_levels
Number of levels in the grid hierarchy used for multigrid. Positive
numbers indicate an absolute number of levels, negative
numbers are subtracted from the maximum number of levels possible.
Options:
- max_levels:
Calculate the optimal number of levels for the grid.
Name PeriodicBoundaryMask
Section Mesh
Type block
(Experimental) Defines a mask for which periodic boundaries are replaced by zero boundary conditions.
Name Spacing
Section Mesh
Type float
The spacing between the points in the mesh. This controls the
quality of the discretization: smaller spacing gives more
precise results but increased computational cost.
When using curvilinear coordinates, this is a canonical spacing that will be changed locally by the transformation. In periodic directions, your spacing may be slightly different than what you request here, since the box size must be an integer multiple of the spacing.
The default value is defined by the species if only default pseudopotentials are used or by the image resolution if BoxShape = box_image. Otherwise, there is no default.
It is possible to have a different spacing in each one of the Cartesian directions if we define Spacing as block of the form
%Spacing
spacing_x | spacing_y | spacing_z
%
Name SpiralBoundaryCondition
Section Mesh
Type logical
Default no
(Experimental) If set to yes, Octopus will apply spin-spiral boundary conditions.
The momentum of the spin spiral is defined by the variable
TDMomentumTransfer