(git:3d5d2e5)
Loading...
Searching...
No Matches
upf_types Module Reference

Owned UPF dataset and radial conventions shared by ATOM and Quickstep. Dataset availability does not select an orbital representation or calculation method. More...

Data Types

type  upf_partial_waves_type
type  upf_gipaw_orbitals_type
type  upf_paw_type
type  atom_upfpot_type

Functions/Subroutines

pure logical function, public upf_uses_model_core_tau (pot)
 Select model-core tau for USPP and for NC with an explicitly supplied table.
subroutine, public upf_nlcc_kinetic (pot, kinetic, available, reason)
 Obtain the independently supplied model-core kinetic density in Hartree per cubic bohr. Charge augmentation and NLCC charge do not determine this field. Unlabelled samples remain available as raw data, without an assumed generator normalization.
real(dp) function, dimension(size(pot%r)), public upf_radial_weights (pot)
 Composite Simpson weights for dr on the supplied UPF mesh index.
pure logical function, public upf_has_complete_partial_waves (pot)
 Check for a complete projector-indexed pair of original AE and PS waves.
pure subroutine, public upf_release (pot)
 Release every owned field and reset metadata before reusing a dataset.

Detailed Description

Owned UPF dataset and radial conventions shared by ATOM and Quickstep. Dataset availability does not select an orbital representation or calculation method.

Function/Subroutine Documentation

◆ upf_uses_model_core_tau()

pure logical function, public upf_types::upf_uses_model_core_tau ( type(atom_upfpot_type), intent(in) pot)

Select model-core tau for USPP and for NC with an explicitly supplied table.

Parameters
potOriginal UPF metadata and optional model-core table.
Returns
Whether this dataset uses the model-core convention instead of PAW reconstruction.

Definition at line 126 of file upf_types.F.

◆ upf_nlcc_kinetic()

subroutine, public upf_types::upf_nlcc_kinetic ( type(atom_upfpot_type), intent(in) pot,
real(dp), dimension(:), intent(out), allocatable kinetic,
logical, intent(out) available,
character(len=*), intent(out) reason )

Obtain the independently supplied model-core kinetic density in Hartree per cubic bohr. Charge augmentation and NLCC charge do not determine this field. Unlabelled samples remain available as raw data, without an assumed generator normalization.

Parameters
potOriginal UPF dataset.
kineticSpin-summed canonical core tau, zero for an absent partial core.
availableWhether the canonical field is defined for this dataset.
reasonExplanation when the field cannot be used.

Definition at line 142 of file upf_types.F.

Here is the caller graph for this function:

◆ upf_radial_weights()

real(dp) function, dimension(size(pot%r)), public upf_types::upf_radial_weights ( type(atom_upfpot_type), intent(in) pot)

Composite Simpson weights for dr on the supplied UPF mesh index.

Parameters
potOriginal radial coordinates and dr/d(index).
Returns
Radial weights, with a last trapezoidal interval for an even mesh size.

Definition at line 188 of file upf_types.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ upf_has_complete_partial_waves()

pure logical function, public upf_types::upf_has_complete_partial_waves ( type(atom_upfpot_type), intent(in) pot)

Check for a complete projector-indexed pair of original AE and PS waves.

Parameters
potOriginal UPF dataset; atomic guess waves do not satisfy this query.
Returns
Whether every beta projector has a compatible full-wave pair.

Definition at line 212 of file upf_types.F.

Here is the caller graph for this function:

◆ upf_release()

pure subroutine, public upf_types::upf_release ( type(atom_upfpot_type), intent(inout) pot)

Release every owned field and reset metadata before reusing a dataset.

Parameters
potOwned UPF dataset.

Definition at line 256 of file upf_types.F.

Here is the caller graph for this function: