(git:6a2e663)
rs_pw_interface Module Reference

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

Functions/Subroutines

subroutine, public density_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 More...
 
subroutine, public potential_pw2rs (rs_v, v_rspace, pw_env)
 transfers a potential from a pw_grid to a vector of realspace multigrids More...
 

Detailed Description

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

History
  • Copied from qs_coolocate_Density and qs_integrate_potenntial
Author
JGH (04.2014)

Function/Subroutine Documentation

◆ density_rs2pw()

subroutine, public rs_pw_interface::density_rs2pw ( type(pw_env_type), intent(in)  pw_env,
type(realspace_grid_type), dimension(:), intent(in)  rs_rho,
type(pw_r3d_rs_type), intent(inout)  rho,
type(pw_c1d_gs_type), intent(inout)  rho_gspace 
)

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

Parameters
pw_env...
rs_rho...
rho...
rho_gspace...
Note
should contain all communication in the collocation of the density in the case of replicated grids

Definition at line 64 of file rs_pw_interface.F.

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

◆ potential_pw2rs()

subroutine, public rs_pw_interface::potential_pw2rs ( type(realspace_grid_type), dimension(:), intent(in)  rs_v,
type(pw_r3d_rs_type), intent(in)  v_rspace,
type(pw_env_type), intent(in)  pw_env 
)

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

Parameters
rs_vOUTPUT: the potential on the realspace multigrids
v_rspaceINPUT : the potential on a planewave grid in Rspace
pw_env...
History
09.2006 created [Joost VandeVondele]
Note
extracted from integrate_v_rspace should contain all parallel communication of integrate_v_rspace in the case of replicated grids.

Definition at line 151 of file rs_pw_interface.F.

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