44 real(real64),
allocatable :: dij(:, :, :)
45 type(paw_sphere_t),
allocatable :: paw
55 logical :: owns_species_data = .
true.
56 real(real64),
pointer :: dij(:, :, :) => null()
57 real(real64),
allocatable :: qij(:, :, :)
58 real(real64),
allocatable :: qfunc(:, :, :)
59 integer :: qfunc_lmax = -1
60 integer :: qfunc_nbeta = 0
66 real(real64),
allocatable :: qflm(:, :)
67 integer,
allocatable :: qflm_map(:, :)
68 integer :: qflm_ncombo = 0
73 real(real64),
allocatable :: jbasis(:, :, :)
74 integer :: jbasis_nprojs = 0
78 type(paw_sphere_t),
pointer :: paw => null()
87 logical elemental function augmentation_is_allocated(this)
88 class(augmentation_t),
intent(in) :: this
89 augmentation_is_allocated =
allocated(this%qflm)
94 type(augmentation_t),
intent(inout) :: this
98 if (this%owns_species_data)
then
99 safe_deallocate_p(this%dij)
100 if (
associated(this%paw))
then
101 call paw_onsite_end(this%paw)
107 this%owns_species_data = .
true.
108 safe_deallocate_a(this%qij)
109 safe_deallocate_a(this%qfunc)
110 safe_deallocate_a(this%qflm)
111 safe_deallocate_a(this%qflm_map)
112 safe_deallocate_a(this%jbasis)
113 this%jbasis_nprojs = 0
124 type(augmentation_species_t),
intent(inout) :: this
128 safe_deallocate_a(this%dij)
129 if (
allocated(this%paw))
then
130 call paw_onsite_end(this%paw)
logical elemental function augmentation_is_allocated(this)
Whether the augmentation data has been built (combined Q^L Y_LM columns present).
subroutine, public augmentation_end(this)
subroutine, public augmentation_species_end(this)
Free one entry of the shared per-species augmentation store.
/* To use the profiling module, call profiling_in and profiling_out with the label of the region as a...
Shared per-species augmentation data, aliased by every projector (atom) of the species.
Geometry-independent augmentation data of a pseudopotential.