Back to main menu

Mode: electronic polarization

Syntax

atomsk --electronic-polarization <file> [options]

atomsk -PE <file> [options]

Description

This mode computes the electronic polarization of each ion in the framework of an ionic core-shell model, defined by the displacement of the electonic shell with respect to the ionic core, i.e. for ion i:

       Pi = 0.5*(|Qi|+|qi|) (Ri-ri)

where Qi and Ri are the charge and position of the ionic core, and qi and ri are the charge and position of the electronic shell.

This mode will not compute anything if the charges for the ionic cores and shells are not set, or if there are no shells at all in the system. The charges can be defined thanks to the option -properties. For instance consider a fictitious system made of ions A and B, then the charges can be written in a file with the following format and read with the option -properties:

charges.txt

charge
A <qcoreA> <qshellA>
B <qcoreB> <qshellB>

If some ions have no shell (so-called "rigid ions"), then their electronic polarization will be set to zero.

Output consists of the following files:

Note that when Atomsk reads a file containing shells, it tries to associate each shell to a core. If this association is wrong (most likely because cores and shell appear in random orders in the input file), it can be fixed with the option -bind-shells.

If this mode is used with one or several options they will be applied to the system before computing the electronic polarization.

Examples

Back to main menu