Octopus
projector.F90 File Reference

Go to the source code of this file.

Modules

module  projector_oct_m
 

Data Types

type  projector_oct_m::projector_t
 The projector data type is intended to hold the local and non-local parts of the pseudopotentials. The definition of the action of a projector (which is done through the X(project) subroutine) depends on the type of the projector. More...
 

Functions/Subroutines

logical elemental function, public projector_oct_m::projector_is_null (p)
 
logical elemental function, public projector_oct_m::projector_is (p, type)
 
logical elemental function, public projector_oct_m::projector_has_augmentation (p)
 Whether the projector carries an augmentation contribution (charge augmentation Q_ij and a generalized overlap S). More...
 
subroutine, public projector_oct_m::projector_init (p, pseudo, namespace, dim, reltype)
 
subroutine, public projector_oct_m::projector_init_phases (this, dim, std, bnd, kpoints, vec_pot, vec_pot_var)
 
subroutine, public projector_oct_m::projector_build (p, ps, so_strength, dgrid, namespace, nspin, kpt_st_grp, fill_values, aug_species)
 
subroutine, public projector_oct_m::projector_check_discretization (pseudo, sm, namespace)
 Check how well the nonlocal projectors are resolved on the real-space grid. More...
 
subroutine, public projector_oct_m::projector_bcast_fill (p, grp, root)
 Broadcast the projector values built by the owning rank of an atom-distributed projector build. More...
 
subroutine projector_oct_m::projector_build_aug_qflm (p, ps, dgrid, kpt_st_grp)
 Build the effective (double-grid transformed) ultrasoft augmentation. More...
 
subroutine, public projector_oct_m::projector_aug_pair_to_columns (proj, pmat, ncomp, pairw, wcol)
 Apply the Gaunt coupling between projection pairs and the combined augmentation columns: wcol(col, c) += sum_{(i,j) -> col} gaunt * pairw(i, j, c). This is the common kernel of every scatter-side augmentation consumer (augmentation density, forces, current); the grid work then reduces to acc = aug_qflm . wcol (one gemv per component). Zero-weight pairs are skipped. More...
 
subroutine, public projector_oct_m::projector_aug_columns_to_pairs (proj, pmat, ncomp, wq, pairm)
 Contract combined-column values back to the projection-pair matrix: pairm(i, j, c) = sum_{(i,j) -> col} gaunt * wq(col, c). This is the common kernel of every dot-product-side augmentation consumer (D_ij screening, augmentation moments, forces), applied after the grid reduction wq = aug_qflm^T . (gathered field) (one gemv per component). More...
 
subroutine, public projector_oct_m::projector_end (p)
 
subroutine, public projector_oct_m::dproject_psi (mesh, bnd, pj, npj, dim, psi, ppsi, ik)
 dproject_psi calculates the action of a projector on the psi wavefunction. The result is summed up to ppsi More...
 
subroutine, public projector_oct_m::dproject_psi_batch (mesh, bnd, pj, npj, dim, psib, ppsib)
 To optimize the application of the non-local operator in parallel, the projectors are applied in steps. More...
 
real(real64) function, public projector_oct_m::dprojector_matrix_element (pj, bnd, dim, ik, psia, psib)
 dprojector_matrix_element calculates <psia|projector|psib> More...
 
subroutine projector_oct_m::dproject_sphere (mesh, pj, dim, psi, ppsi)
 
subroutine, public projector_oct_m::dprojector_commute_r (pj, mesh, bnd, dim, idir, ik, psi, cpsi)
 This function calculates |cpsi> += [x, V_nl] |psi> More...
 
subroutine, public projector_oct_m::dprojector_commute_r_allatoms_alldir (pj, ions, mesh, dim, bnd, ik, psi, cpsi)
 This function calculates |cpsi> += [x, V_nl] |psi> More...
 
subroutine, public projector_oct_m::zproject_psi (mesh, bnd, pj, npj, dim, psi, ppsi, ik)
 zproject_psi calculates the action of a projector on the psi wavefunction. The result is summed up to ppsi More...
 
subroutine, public projector_oct_m::zproject_psi_batch (mesh, bnd, pj, npj, dim, psib, ppsib)
 To optimize the application of the non-local operator in parallel, the projectors are applied in steps. More...
 
complex(real64) function, public projector_oct_m::zprojector_matrix_element (pj, bnd, dim, ik, psia, psib)
 zprojector_matrix_element calculates <psia|projector|psib> More...
 
subroutine projector_oct_m::zproject_sphere (mesh, pj, dim, psi, ppsi)
 
subroutine, public projector_oct_m::zprojector_commute_r (pj, mesh, bnd, dim, idir, ik, psi, cpsi)
 This function calculates |cpsi> += [x, V_nl] |psi> More...
 
subroutine, public projector_oct_m::zprojector_commute_r_allatoms_alldir (pj, ions, mesh, dim, bnd, ik, psi, cpsi)
 This function calculates |cpsi> += [x, V_nl] |psi> More...
 

Variables

integer, parameter projector_oct_m::max_nprojections = 4
 
integer, parameter projector_oct_m::max_l = 5