Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | public | :: | use_lookup | = | .false. |
Use a lookup for the supergroup index in global_det_data. |
|
logical, | public | :: | create_lookup | = | .false. |
Create and manage! the supergroup index lookup in global_det_data. |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(PC_Particles_t), | intent(inout) | :: | this | |||
class(GASSpec_t), | intent(in) | :: | GAS_spec | |||
real(kind=dp), | intent(in) | :: | weights(:,:,:) |
|
||
integer, | intent(in) | :: | rank_with_info |
The intra-node rank that contains the weights to be used all other arr of all other ranks are ignored (and can be allocated with size 0). |
||
logical, | intent(in) | :: | use_lookup | |||
logical, | intent(in) | :: | create_lookup |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(PC_Particles_t), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(PC_FastWeightedParticles_t), | intent(in) | :: | this | |||
integer, | intent(in) | :: | nI(nEl) |
The determinant in nI-format and the supergroup index |
||
integer(kind=n_int), | intent(in) | :: | ilutI(0:nIfD) |
The determinant in bitmask format |
||
integer, | intent(in) | :: | i_sg |
The determinant in nI-format and the supergroup index |
||
integer, | intent(out) | :: | elecs(2) |
The chosen particles and their index in |
||
integer, | intent(out) | :: | srcs(2) |
The chosen particles and their index in |
||
real(kind=dp), | intent(out) | :: | p |
The probability of drawing . This is the probability of drawing two particles from a given determinant regardless of order. |
Calculates
This is the probability of drawing two particles from a given determinant regardless of order.
Note that the unordered probability is given by the ordered probability as: In addition we have so we have to actually calculate the probability of drawing two given particles in different order.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(PC_FastWeightedParticles_t), | intent(in) | :: | this | |||
integer, | intent(in) | :: | nI(nEl) |
The determinant in nI-format and the supergroup index |
||
integer, | intent(in) | :: | i_sg |
The determinant in nI-format and the supergroup index |
||
integer, | intent(in) | :: | I |
The particles. |
||
integer, | intent(in) | :: | J |
The particles. |