Documentation for module rs_pw_interface

Transfers densities from PW to RS grids and potentials from PW to RS

source: rs_pw_interface.F
Loading...

public Subroutines/Functions:

given partial densities on the realspace multigrids, computes the full density on the plane wave grids, both in real and gspace
given partial densities on the realspace multigrids, computes the full density on the plane wave grids
transfers a potential from a pw_grid to a vector of realspace multigrids

SUBROUTINEdensity_rs2pw(pw_env, rs_rho, rho, rho_gspace)

given partial densities on the realspace multigrids, computes the full density on the plane wave grids, both in real and gspace

Arguments:
POINTER
:: pw_env ...
POINTER
:: rs_rho(:) ...
TYPE(pw_p_type),
INTENT(inout)
:: rho ...
TYPE(pw_p_type),
INTENT(inout)
:: rho_gspace ...

SUBROUTINEdensity_rs2pw_basic(pw_env, rs_rho, rho, rho_gspace)

given partial densities on the realspace multigrids, computes the full density on the plane wave grids

Arguments:
POINTER
:: pw_env ...
POINTER
:: rs_rho(:) ...
TYPE(pw_p_type),
INTENT(inout)
:: rho ...
TYPE(pw_p_type),
INTENT(inout)
:: rho_gspace ...

SUBROUTINEpotential_pw2rs(rs_v, v_rspace, pw_env)

transfers a potential from a pw_grid to a vector of realspace multigrids

Arguments:
POINTER
:: rs_v(:) OUTPUT: the potential on the realspace multigrids
TYPE(pw_p_type),
INTENT(in)
:: v_rspace INPUT : the potential on a planewave grid in Rspace
POINTER
:: pw_env ...