You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -910,6 +914,48 @@ Warning: this function is not robust enough for version 2.2.0. Please try these
910
914
- **Description**: the path of the trained, traced NN model file (generated by deepks-kit). used when deepks_scf is set to 1.
911
915
- **Default**: None
912
916
917
+
### Electric field and dipole correction
918
+
919
+
This part of variables are relevant to electric field and dipole correction
920
+
921
+
#### efield
922
+
923
+
- **Type**: Boolean
924
+
- **Description**: If set to true, a saw-like potential simulating an electric field
925
+
is added to the bare ionic potential.
926
+
- **Default**: false
927
+
928
+
#### dipole
929
+
930
+
- **Type**: Boolean
931
+
- **Description**: If dipole == true and efield == true, a dipole correction is also
932
+
added to the bare ionic potential. If you want no electric field, parameter eamp should be zero. Must be used ONLY in a slab geometry for surface calculations, with the discontinuity FALLING IN THE EMPTY SPACE.
933
+
- **Default**: false
934
+
935
+
#### edir
936
+
937
+
- **Type**: Integer
938
+
- **Description**: The direction of the electric field or dipole correction is parallel to the reciprocal lattice vector, so the potential is constant in planes defined by FFT grid points, edir = 0, 1 or 2. Used only if efield == true.
939
+
- **Default**: 2
940
+
941
+
#### emaxpos
942
+
943
+
- **Type**: Real
944
+
- **Description**: Position of the maximum of the saw-like potential along crystal axis edir, within the unit cell, 0 < emaxpos < 1. Used only if efield == true.
945
+
- **Default**: 0.5
946
+
947
+
#### eopreg
948
+
949
+
- **Type**: Real
950
+
- **Description**: Zone in the unit cell where the saw-like potential decreases, 0 < eopreg < 1. Used only if efield == true.
951
+
- **Default**: 0.1
952
+
953
+
#### eamp
954
+
955
+
- **Type**: Real
956
+
- **Description**: Amplitude of the electric field, in ***Hartree*** a.u.; 1 a.u. = 51.4220632*10^10 V/m. Used only if efield == true. The saw-like potential increases with slope eamp in the region from (emaxpos+eopreg-1) to (emaxpos), then decreases until (emaxpos+eopreg), in units of the crystal vector edir. Important: the change of slope of this potential must be located in the empty region, or else unphysical forces will result.
957
+
- **Default**: 0.0
958
+
913
959
### Exact Exchange
914
960
915
961
This part of variables are relevant when using hybrid functionals
0 commit comments