CELL_OPT

This section sets the environment for the optimization of the simulation cell. As is noted in FORCE_EVAL/SUBSYS/CELL, the program convention is that the first cell vector A lies along the X-axis and the second cell vector B is in the XY plane, such that the cell vector matrix is a lower triangle. The algorithm support for updating the three upper triangular components during a cell optimization is not complete or tested, so the input structure has to be prepared accordingly with these three components precisely 0 even for cases like the primitive rhombohedral cell of the FCC lattice. [Edit on GitHub]

Subsections

Keywords

Keyword descriptions

CONSTRAINT: enum = NONE

Usage: CONSTRAINT (none|x|y|z|xy|xz|yz)

Valid values:

  • NONE Fix nothing

  • X Fix only x component

  • Y Fix only y component

  • Z Fix only z component

  • XY Fix x and y component

  • XZ Fix x and z component

  • YZ Fix y and z component

Imposes a constraint on the pressure tensor by fixing the specified cell components. [Edit on GitHub]

EPS_SYMMETRY: real = 1.00000000E-004

Usage: EPS_SYMMETRY {REAL}

Accuracy for space group determination. EPS_SYMMETRY is dimensionless. Roughly speaking, two scaled (fractional) atomic positions v1, v2 are considered identical if |v1 - v2| < EPS_SYMMETRY. [Edit on GitHub]

EXTERNAL_PRESSURE: real[ ] = 1.00000000E+002 0.00000000E+000 0.00000000E+000 0.00000000E+000 1.00000000E+002 0.00000000E+000 0.00000000E+000 0.00000000E+000 1.00000000E+002 [bar]

Usage: EXTERNAL_PRESSURE {REAL} .. {REAL}

Specifies the external pressure (1 value or the full 9 components of the pressure tensor) applied during the cell optimization. [Edit on GitHub]

KEEP_ANGLES: logical = F

Lone keyword: T

Usage: KEEP_ANGLES TRUE

Keep angles between the cell vectors constant, but allow the lengths of the cell vectors to change independently during cell optimization. This is implemented by projecting out the components of angles in the cell gradient before the cell is updated. Albeit general, this is most useful for triclinic cells; to enforce higher symmetry, see KEEP_SYMMETRY. [Edit on GitHub]

KEEP_SPACE_GROUP: logical = F

Lone keyword: T

Usage: KEEP_SPACE_GROUP .TRUE.

Detect space group of the system and preserve it during optimization. The space group symmetry is applied to coordinates, forces, and the stress tensor. It works for supercell. It does not affect/reduce computational cost. Use EPS_SYMMETRY to adjust the detection threshold. [Edit on GitHub]

KEEP_SYMMETRY: logical = F

Lone keyword: T

Usage: KEEP_SYMMETRY TRUE

Keep the requested initial cell symmetry as specified in the FORCE_EVAL/SUBSYS/CELL section during cell optimization. This is implemented by removing symmetry-breaking components and taking averages of components if necessary in the cell gradient before the cell is updated. To enforce the space group (which requires spglib package), see KEEP_SPACE_GROUP. [Edit on GitHub]

KEEP_VOLUME: logical = F

Lone keyword: T

Usage: KEEP_VOLUME TRUE

Keep the volume of the cell constant during cell optimization. This is implemented by comparing the cell volumes and scaling the new cell vectors just before updating the cell information, and can be used together with KEEP_ANGLES or KEEP_SYMMETRY. [Edit on GitHub]

MAX_DR: real = 3.00000000E-003 [bohr]

Usage: MAX_DR {real}

Convergence criterion for the maximum geometry change between the current and the last optimizer iteration. [Edit on GitHub]

MAX_FORCE: real = 4.50000000E-004 [bohr^-1*hartree]

Usage: MAX_FORCE {real}

Convergence criterion for the maximum force component of the current configuration. [Edit on GitHub]

MAX_ITER: integer = 200

Usage: MAX_ITER {integer}

Specifies the maximum number of geometry optimization steps. One step might imply several force evaluations for the CG and LBFGS optimizers. [Edit on GitHub]

OPTIMIZER: enum = BFGS

Aliases: MINIMIZER

Usage: OPTIMIZER {BFGS|LBFGS|CG}

Valid values:

  • BFGS Most efficient minimizer, but only for ‘small’ systems, as it relies on diagonalization of a full Hessian matrix

  • LBFGS Limited-memory variant of BFGS suitable for large systems. Not as well fine-tuned but can be more robust.

  • CG conjugate gradients, robust minimizer (depending on the line search) also OK for large systems

References: Byrd1995

Specify which method to use to perform a geometry optimization. [Edit on GitHub]

PRESSURE_TOLERANCE: real = 1.00000000E+002 [bar]

Usage: PRESSURE_TOLERANCE {REAL}

Specifies the Pressure tolerance (compared to the external pressure) to achieve during the cell optimization. [Edit on GitHub]

RMS_DR: real = 1.50000000E-003 [bohr]

Usage: RMS_DR {real}

Convergence criterion for the root mean square (RMS) geometry change between the current and the last optimizer iteration. [Edit on GitHub]

RMS_FORCE: real = 3.00000000E-004 [bohr^-1*hartree]

Usage: RMS_FORCE {real}

Convergence criterion for the root mean square (RMS) force of the current configuration. [Edit on GitHub]

SHOW_SPACE_GROUP: logical = F

Lone keyword: T

Usage: SHOW_SPACE_GROUP .TRUE.

Detect and show space group of the system after optimization. It works for supercell. It does not affect/reduce computational cost. Use EPS_SYMMETRY to adjust the detection threshold. [Edit on GitHub]

SPGR_PRINT_ATOMS: logical = F

Lone keyword: T

Print equivalent atoms list for each space group symmetry operation. [Edit on GitHub]

STEP_START_VAL: integer = 0

Usage: step_start_val

The starting step value for the CELL_OPT module. [Edit on GitHub]

SYMM_EXCLUDE_RANGE: integer[2]

Keyword can be repeated.

Usage: SYMM_EXCLUDE_RANGE {Int} {Int}

Range of atoms to exclude from space group symmetry. These atoms are excluded from both identification and enforcement. This keyword can be repeated. [Edit on GitHub]

SYMM_REDUCTION: real[3] = 0.00000000E+000 0.00000000E+000 0.00000000E+000

Usage: SYMM_REDUCTION 0.0 0.0 0.0

Direction of the external static electric field. Some symmetry operations are not compatible with the direction of an electric field. These operations are used when enforcing the space group. [Edit on GitHub]

TYPE: enum = DIRECT_CELL_OPT

Usage: TYPE (DIRECT_CELL_OPT|GEO_OPT|MD)

Valid values:

  • DIRECT_CELL_OPT Performs a geometry and cell optimization at the same time. The stress tensor is computed at every step

  • GEO_OPT Performs a geometry optimization between cell optimization steps. The MOTION/GEO_OPT section must be defined. The stress tensor is computed at the optimized geometry.

  • MD Performs a molecular dynamics run for computing the stress tensor used for the cell optimization. The MOTION/MD section must be defined.

Specify which kind of method to use for the optimization of the simulation cell [Edit on GitHub]