(git:374b731)
Loading...
Searching...
No Matches
xray_diffraction Module Reference

Functions/Subroutines

subroutine, public xray_diffraction_spectrum (qs_env, unit_number, q_max)
 Calculate the coherent X-ray diffraction spectrum using the total electronic density in reciprocal space (g-space).
 
subroutine, public calculate_rhotot_elec_gspace (qs_env, auxbas_pw_pool, rhotot_elec_gspace, q_max, rho_hard, rho_soft, fsign)
 The total electronic density in reciprocal space (g-space) is calculated.
 

Detailed Description

Literature
M. Krack, A. Gambirasio, and M. Parrinello, "Ab-initio x-ray scattering of liquid water", J. Chem. Phys. 117, 9409 (2002)
Author
Matthias Krack
Date
30.11.2005

Function/Subroutine Documentation

◆ xray_diffraction_spectrum()

subroutine, public xray_diffraction::xray_diffraction_spectrum ( type(qs_environment_type), pointer  qs_env,
integer, intent(in)  unit_number,
real(kind=dp), intent(in)  q_max 
)

Calculate the coherent X-ray diffraction spectrum using the total electronic density in reciprocal space (g-space).

Parameters
qs_env...
unit_number...
q_max...
Date
30.11.2005
Author
Matthias Krack

Definition at line 84 of file xray_diffraction.F.

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

◆ calculate_rhotot_elec_gspace()

subroutine, public xray_diffraction::calculate_rhotot_elec_gspace ( type(qs_environment_type), pointer  qs_env,
type(pw_pool_type), pointer  auxbas_pw_pool,
type(pw_c1d_gs_type), intent(inout)  rhotot_elec_gspace,
real(kind=dp), intent(in)  q_max,
real(kind=dp), intent(out)  rho_hard,
real(kind=dp), intent(out)  rho_soft,
real(kind=dp), intent(in), optional  fsign 
)

The total electronic density in reciprocal space (g-space) is calculated.

Parameters
qs_env...
auxbas_pw_pool...
rhotot_elec_gspace...
q_max...
rho_hard...
rho_soft...
fsign...
Date
14.03.2008 (splitted from the routine xray_diffraction_spectrum)
Author
Matthias Krack
Note
This code assumes that the g-vectors are ordered (in gsq and cc)

Definition at line 484 of file xray_diffraction.F.

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