Jump to content

Requests for technical support from the VASP team should be posted in the VASP Forum.

KERNEL TRUNCATION/LTRUNCATE: Difference between revisions

From VASP Wiki
Svijay (talk | contribs)
Svijay (talk | contribs)
 
(2 intermediate revisions by the same user not shown)
Line 23: Line 23:
</pre>
</pre>
In this case, we pad the cell along the surface normal direction.
In this case, we pad the cell along the surface normal direction.
The Coulomb interaction is truncated beyond the boundaries of the cell along the surface normal direction.
The Coulomb interaction is truncated beyond the boundaries of the cell along this direction.
<pre>
<pre>
KERNEL_TRUNCATION {
KERNEL_TRUNCATION {
Line 34: Line 34:
</pre>
</pre>


This setup corresponds to truncating the Coulomb interaction along the surface normal direction for a [[2D material]], using no vacuum padding and a truncation length of z/2. In this case, half of the simulation box is effectively unused and will produce a potential that is not desired.
This setup corresponds to truncating the Coulomb interaction along the surface normal direction (say, along z) for a [[2D material]], using no vacuum padding and a truncation length of z/2. In this case, half of the simulation box is effectively unused and will produce a potential that is not desired.
However, the algorithm is much simpler.
However, the algorithm is much simpler.
We recommend this configuration can for debugging purposes.
We recommend this configuration for debugging purposes.


== Related tags and articles ==
== Related tags and articles ==

Latest revision as of 15:24, 18 March 2026

KERNEL_TRUNCATION/LTRUNCATE = .True. | .False.
Default: KERNEL_TRUNCATION/LTRUNCATE = .False. 

Description: Truncates the Coulomb kernel to remove electrostatic interactions along non-periodic dimensions.


Setting KERNEL_TRUNCATION/LTRUNCATE = T switches on the Coulomb-kernel-truncation method[1][2][3]. It effectively removes interactions with periodic replicas in non-periodic directions. In other words, the interactions are removed along the surface normal for 2D materials, and along all directions for 0D systems, i.e. for isolated atoms and molecules.

In the simplest implementation of the Coulomb-kernel-truncation method (KERNEL_TRUNCATION/LCOARSEN = F), the computational cell provided in the POSCAR file is internally padded by an additional vacuum (see KERNEL_TRUNCATION/IPAD). This implies increasing the FFT-grid sizes by a certain factor and thus leads to a significant increase in computational cost.

Detailed information about the setting are documented on respective related tags.

Example

KERNEL_TRUNCATION {
     LTRUNCATE       = T
     IDIMENSIONALITY = 2
     ISURFACE        = 3
     LCOARSEN        = F
}

In this case, we pad the cell along the surface normal direction. The Coulomb interaction is truncated beyond the boundaries of the cell along this direction.

KERNEL_TRUNCATION {
     LTRUNCATE       = T
     IDIMENSIONALITY = 2
     ISURFACE        = 3
     IPAD            = 1
     FACTOR          = 0.5
}

This setup corresponds to truncating the Coulomb interaction along the surface normal direction (say, along z) for a 2D material, using no vacuum padding and a truncation length of z/2. In this case, half of the simulation box is effectively unused and will produce a potential that is not desired. However, the algorithm is much simpler. We recommend this configuration for debugging purposes.

Related tags and articles

KERNEL_TRUNCATION/LCOARSEN, KERNEL_TRUNCATION/IDIMENSIONALITY, KERNEL_TRUNCATION/ISURFACE, KERNEL_TRUNCATION/FACTOR, KERNEL_TRUNCATION/IPAD

References