Octopus
ps_oct_m::ps_t Type Reference

A type storing the information and data about a pseudopotential. More...

Detailed Description

A type storing the information and data about a pseudopotential.

Definition at line 169 of file ps.F90.

Private Attributes

integer projector_type
 Type of projectors - Can be HGH, KB, or relativistic KB (RKB) More...
 
integer relativistic_treatment
 How relativitistic effects are defined - j_independent, j_dependent, or j_averaged !! Only relevant for Kleinmann-Bylander pseudo. More...
 
character(len=10), private label
 Label of the element. More...
 
integer, private ispin
 Consider spin (ispin = 2) or not (ispin = 1) More...
 
real(real64), private z
 Total charge of the pseudo-ion. More...
 
real(real64) z_val
 Valence charge of the pseudo-ion. More...
 
type(valconf_t) conf
 
type(logrid_t), private g
 Logarithmic grid associated with the pseudopotential. More...
 
type(spline_t), dimension(:, :), allocatable ur
 (1:confp, 1:ispin) atomic wavefunctions, as a function of r More...
 
logical, dimension(:, :), allocatable bound
 (1:confp, 1:ispin) is the state bound or not More...
 
integer lmax
 maximum value of l to take More...
 
integer llocal
 which component to take as local More...
 
type(spline_t) vl
 local part More...
 
logical no_vl = .false.
 no local part More...
 
real(real64) projectors_sphere_threshold
 The projectors are localized in real space, and so they are contained in a sphere whose radius is computed by making sure that the projector functions absolute value is below this threshold, for points outside the sphere. More...
 
real(real64) rc_max
 The radius of the spheres that contain the projector functions. More...
 
integer kbc
 Number of KB components (1 or 2 for TM ps, 3 for HGH) More...
 
integer, dimension(5) projectors_per_l
 Number of projectors per l. Only for XML pseudopotentials. More...
 
real(real64), dimension(:,:,:), allocatable h
 
real(real64), dimension(:, :, :), allocatable k
 
real(real64), dimension(:, :, :), allocatable qij
 Integrated USPP overlap augmentation charges. More...
 
integer radial_augmentation_lmax = -1
 
integer radial_augmentation_nprojectors = 0
 
logical radial_augmentation_has_angular_channels = .false.
 
type(spline_t), dimension(:, :), allocatable radial_augmentation
 USPP augmentation charge Q_ij^L(r) More...
 
type(spline_t), dimension(:, :), allocatable kb
 Kleinman-Bylander projectors. More...
 
type(spline_t), dimension(:, :), allocatable dkb
 derivatives of KB projectors More...
 
integer paw_nwavefunctions = 0
 
integer paw_augmentation_lmax = -1
 
integer paw_shape = PSEUDO_PAW_SHAPE_UNKNOWN
 
real(real64) paw_core_energy = M_ZERO
 
real(real64) paw_cutoff_radius = M_ZERO
 radius r_c of the augmentation sphere (bohr) More...
 
logical paw_has_ae_core = .false.
 
integer, dimension(:), allocatable paw_l
 angular momentum of each partial wave More...
 
type(spline_t), dimension(:), allocatable paw_phi_ae
 AE partial waves phi_i(r) More...
 
type(spline_t), dimension(:), allocatable paw_phi_ps
 PS partial waves phi~_i(r) More...
 
type(spline_t) paw_ae_core
 AE core density n_c(r) More...
 
type(spline_t) paw_ae_vlocal
 AE local potential v_AE(r) (Ha): -Z/r plus the Hartree potential of the AE core, so r v_AE(r) goes from -Z at the origin to -Z_val outside the core. The value at r = 0 is only an extrapolation of a divergent function: the one-center code must not evaluate it there, but work with r^2-weighted radial integrals (or with r v_AE(r)). More...
 
real(real64), dimension(:), allocatable paw_occ
 reference occupations More...
 
real(real64), dimension(:), allocatable paw_grid
 native radial grid r_i (copy of psgrofi, public for the one-center engine) More...
 
real(real64), dimension(:), allocatable paw_rab
 native radial integration weights (dr/di), int f dr = sum f_i paw_rab_i More...
 
real(real64), dimension(:, :, :), allocatable paw_multipoles
 augmentation multipole moments More...
 
logical nlcc
 .true. if the pseudo has non-linear core corrections. More...
 
type(spline_t) core
 normalization \( \int dr 4 pi r^2 rho(r) = N \) More...
 
type(spline_t) core_der
 derivative of the core correction More...
 
logical, private has_long_range
 
logical, private is_separated
 
type(spline_t), private vlr
 the long-range part of the local potential. Only for debugging More...
 
type(spline_t) nlr
 the charge density associated with the long-range potential More...
 
real(real64) sigma_erf
 the range-separation constant in \( erf(r/(sqrt(2)*sigma))/r \) More...
 
logical, private has_density
 does the species have a density? More...
 
type(spline_t), dimension(:), allocatable density
 the atomic density for each spin More...
 
type(spline_t), dimension(:), allocatable density_der
 the radial derivative for the atomic density for each spin More...
 
logical local
 
integer file_format
 
integer, private pseudo_type
 
integer exchange_functional
 
integer correlation_functional
 

Member Data Documentation

◆ projector_type

integer ps_oct_m::ps_t::projector_type
private

Type of projectors - Can be HGH, KB, or relativistic KB (RKB)

Definition at line 171 of file ps.F90.

◆ relativistic_treatment

integer ps_oct_m::ps_t::relativistic_treatment
private

How relativitistic effects are defined - j_independent, j_dependent, or j_averaged !! Only relevant for Kleinmann-Bylander pseudo.

Definition at line 172 of file ps.F90.

◆ label

character(len=10), private ps_oct_m::ps_t::label
private

Label of the element.

Definition at line 175 of file ps.F90.

◆ ispin

integer, private ps_oct_m::ps_t::ispin
private

Consider spin (ispin = 2) or not (ispin = 1)

Definition at line 177 of file ps.F90.

◆ z

real(real64), private ps_oct_m::ps_t::z
private

Total charge of the pseudo-ion.

Definition at line 179 of file ps.F90.

◆ z_val

real(real64) ps_oct_m::ps_t::z_val
private

Valence charge of the pseudo-ion.

Definition at line 180 of file ps.F90.

◆ conf

type(valconf_t) ps_oct_m::ps_t::conf
private

Definition at line 181 of file ps.F90.

◆ g

type(logrid_t), private ps_oct_m::ps_t::g
private

Logarithmic grid associated with the pseudopotential.

Definition at line 183 of file ps.F90.

◆ ur

type(spline_t), dimension(:, :), allocatable ps_oct_m::ps_t::ur
private

(1:confp, 1:ispin) atomic wavefunctions, as a function of r

Definition at line 185 of file ps.F90.

◆ bound

logical, dimension(:, :), allocatable ps_oct_m::ps_t::bound
private

(1:confp, 1:ispin) is the state bound or not

Definition at line 186 of file ps.F90.

◆ lmax

integer ps_oct_m::ps_t::lmax
private

maximum value of l to take

Definition at line 189 of file ps.F90.

◆ llocal

integer ps_oct_m::ps_t::llocal
private

which component to take as local

Definition at line 190 of file ps.F90.

◆ vl

type(spline_t) ps_oct_m::ps_t::vl
private

local part

Definition at line 192 of file ps.F90.

◆ no_vl

logical ps_oct_m::ps_t::no_vl = .false.
private

no local part

Definition at line 193 of file ps.F90.

◆ projectors_sphere_threshold

real(real64) ps_oct_m::ps_t::projectors_sphere_threshold
private

The projectors are localized in real space, and so they are contained in a sphere whose radius is computed by making sure that the projector functions absolute value is below this threshold, for points outside the sphere.

Definition at line 195 of file ps.F90.

◆ rc_max

real(real64) ps_oct_m::ps_t::rc_max
private

The radius of the spheres that contain the projector functions.

Definition at line 202 of file ps.F90.

◆ kbc

integer ps_oct_m::ps_t::kbc
private

Number of KB components (1 or 2 for TM ps, 3 for HGH)

Definition at line 204 of file ps.F90.

◆ projectors_per_l

integer, dimension(5) ps_oct_m::ps_t::projectors_per_l
private

Number of projectors per l. Only for XML pseudopotentials.

Definition at line 205 of file ps.F90.

◆ h

real(real64), dimension(:,:,:), allocatable ps_oct_m::ps_t::h
private

Definition at line 206 of file ps.F90.

◆ k

real(real64), dimension(:, :, :), allocatable ps_oct_m::ps_t::k
private

Definition at line 206 of file ps.F90.

◆ qij

real(real64), dimension(:, :, :), allocatable ps_oct_m::ps_t::qij
private

Integrated USPP overlap augmentation charges.

Definition at line 207 of file ps.F90.

◆ radial_augmentation_lmax

integer ps_oct_m::ps_t::radial_augmentation_lmax = -1
private

Definition at line 208 of file ps.F90.

◆ radial_augmentation_nprojectors

integer ps_oct_m::ps_t::radial_augmentation_nprojectors = 0
private

Definition at line 209 of file ps.F90.

◆ radial_augmentation_has_angular_channels

logical ps_oct_m::ps_t::radial_augmentation_has_angular_channels = .false.
private

Definition at line 210 of file ps.F90.

◆ radial_augmentation

type(spline_t), dimension(:, :), allocatable ps_oct_m::ps_t::radial_augmentation
private

USPP augmentation charge Q_ij^L(r)

Definition at line 211 of file ps.F90.

◆ kb

type(spline_t), dimension(:, :), allocatable ps_oct_m::ps_t::kb
private

Kleinman-Bylander projectors.

Definition at line 212 of file ps.F90.

◆ dkb

type(spline_t), dimension(:, :), allocatable ps_oct_m::ps_t::dkb
private

derivatives of KB projectors

Definition at line 213 of file ps.F90.

◆ paw_nwavefunctions

integer ps_oct_m::ps_t::paw_nwavefunctions = 0
private

Definition at line 216 of file ps.F90.

◆ paw_augmentation_lmax

integer ps_oct_m::ps_t::paw_augmentation_lmax = -1
private

Definition at line 217 of file ps.F90.

◆ paw_shape

integer ps_oct_m::ps_t::paw_shape = PSEUDO_PAW_SHAPE_UNKNOWN
private

Definition at line 218 of file ps.F90.

◆ paw_core_energy

real(real64) ps_oct_m::ps_t::paw_core_energy = M_ZERO
private

Definition at line 219 of file ps.F90.

◆ paw_cutoff_radius

real(real64) ps_oct_m::ps_t::paw_cutoff_radius = M_ZERO
private

radius r_c of the augmentation sphere (bohr)

Definition at line 220 of file ps.F90.

◆ paw_has_ae_core

logical ps_oct_m::ps_t::paw_has_ae_core = .false.
private

Definition at line 221 of file ps.F90.

◆ paw_l

integer, dimension(:), allocatable ps_oct_m::ps_t::paw_l
private

angular momentum of each partial wave

Definition at line 222 of file ps.F90.

◆ paw_phi_ae

type(spline_t), dimension(:), allocatable ps_oct_m::ps_t::paw_phi_ae
private

AE partial waves phi_i(r)

Definition at line 223 of file ps.F90.

◆ paw_phi_ps

type(spline_t), dimension(:), allocatable ps_oct_m::ps_t::paw_phi_ps
private

PS partial waves phi~_i(r)

Definition at line 224 of file ps.F90.

◆ paw_ae_core

type(spline_t) ps_oct_m::ps_t::paw_ae_core
private

AE core density n_c(r)

Definition at line 225 of file ps.F90.

◆ paw_ae_vlocal

type(spline_t) ps_oct_m::ps_t::paw_ae_vlocal
private

AE local potential v_AE(r) (Ha): -Z/r plus the Hartree potential of the AE core, so r v_AE(r) goes from -Z at the origin to -Z_val outside the core. The value at r = 0 is only an extrapolation of a divergent function: the one-center code must not evaluate it there, but work with r^2-weighted radial integrals (or with r v_AE(r)).

Definition at line 231 of file ps.F90.

◆ paw_occ

real(real64), dimension(:), allocatable ps_oct_m::ps_t::paw_occ
private

reference occupations

Definition at line 232 of file ps.F90.

◆ paw_grid

real(real64), dimension(:), allocatable ps_oct_m::ps_t::paw_grid
private

native radial grid r_i (copy of psgrofi, public for the one-center engine)

Definition at line 233 of file ps.F90.

◆ paw_rab

real(real64), dimension(:), allocatable ps_oct_m::ps_t::paw_rab
private

native radial integration weights (dr/di), int f dr = sum f_i paw_rab_i

Definition at line 234 of file ps.F90.

◆ paw_multipoles

real(real64), dimension(:, :, :), allocatable ps_oct_m::ps_t::paw_multipoles
private

augmentation multipole moments

Definition at line 235 of file ps.F90.

◆ nlcc

logical ps_oct_m::ps_t::nlcc
private

.true. if the pseudo has non-linear core corrections.

Definition at line 237 of file ps.F90.

◆ core

type(spline_t) ps_oct_m::ps_t::core
private

normalization \( \int dr 4 pi r^2 rho(r) = N \)

Definition at line 238 of file ps.F90.

◆ core_der

type(spline_t) ps_oct_m::ps_t::core_der
private

derivative of the core correction

Definition at line 239 of file ps.F90.

◆ has_long_range

logical, private ps_oct_m::ps_t::has_long_range
private

Definition at line 244 of file ps.F90.

◆ is_separated

logical, private ps_oct_m::ps_t::is_separated
private

Definition at line 245 of file ps.F90.

◆ vlr

type(spline_t), private ps_oct_m::ps_t::vlr
private

the long-range part of the local potential. Only for debugging

Definition at line 247 of file ps.F90.

◆ nlr

type(spline_t) ps_oct_m::ps_t::nlr
private

the charge density associated with the long-range potential

Definition at line 248 of file ps.F90.

◆ sigma_erf

real(real64) ps_oct_m::ps_t::sigma_erf
private

the range-separation constant in \( erf(r/(sqrt(2)*sigma))/r \)

Definition at line 250 of file ps.F90.

◆ has_density

logical, private ps_oct_m::ps_t::has_density
private

does the species have a density?

Definition at line 252 of file ps.F90.

◆ density

type(spline_t), dimension(:), allocatable ps_oct_m::ps_t::density
private

the atomic density for each spin

Definition at line 253 of file ps.F90.

◆ density_der

type(spline_t), dimension(:), allocatable ps_oct_m::ps_t::density_der
private

the radial derivative for the atomic density for each spin

Definition at line 254 of file ps.F90.

◆ local

logical ps_oct_m::ps_t::local
private

Definition at line 256 of file ps.F90.

◆ file_format

integer ps_oct_m::ps_t::file_format
private

Definition at line 257 of file ps.F90.

◆ pseudo_type

integer, private ps_oct_m::ps_t::pseudo_type
private

Definition at line 258 of file ps.F90.

◆ exchange_functional

integer ps_oct_m::ps_t::exchange_functional
private

Definition at line 259 of file ps.F90.

◆ correlation_functional

integer ps_oct_m::ps_t::correlation_functional
private

Definition at line 260 of file ps.F90.


The documentation for this type was generated from the following file: