| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer(kind=int64), | public, | allocatable | :: | allowed_composition_indices(:) | |||
| integer, | public | :: | n_spin_orbs_ |
The number of spin orbitals of underlying determinants. |
|||
| integer, | public | :: | prop_vec_sum_ |
The sum of the property vectors. In the case of PropVec this is the particle number. |
|||
| integer, | public | :: | prop_vec_dim_ |
The dimension of the property vector (corresponds to number of PropVec spaces for pure PropVec) |
Get the index of a property vector.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(PropertyIndexer_t), | intent(in) | :: | this | |||
| integer, | intent(in) | :: | prop_vec(:) |
Calculate the property vector index for a determinant nI
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(PropertyIndexer_t), | intent(in) | :: | this | |||
| integer, | intent(in) | :: | nI(:) |
The determinant for which the prop_vec index should be calculated. |
Use a precomputed prop_vec index from global_det_data.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(PropertyIndexer_t), | intent(in) | :: | this | |||
| integer, | intent(in) | :: | idet |
The index of nI in the FciMCData::CurrentDets array. |
||
| integer, | intent(in) | :: | nI(:) |
The determinant for which the prop_vec index should be calculated. |
Use a precomputed prop_vec index from global_det_data.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(PropertyIndexer_t), | intent(in) | :: | this | |||
| integer, | intent(in) | :: | idet |
The index of nI in the FciMCData::CurrentDets array. |
||
| integer, | intent(in) | :: | nI(:) |
The determinant for which the prop_vec index should be calculated. |
Get the number of possible prop_vecs.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(PropertyIndexer_t), | intent(in) | :: | this |
Get the ordered compositions of n into k summands constrained by cumulative minima and maxima.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(PropertyIndexer_t), | intent(in) | :: | this |
Check if a single excitation is allowed.
Is called once at initialization, so it does not have to be super fast.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(PropertyIndexer_t), | intent(in) | :: | this | |||
| type(Excite_1_t), | intent(in) | :: | exc | |||
| integer, | intent(in) | :: | prop_vec(:) |
Check if a double excitation is allowed.
Is called once at initialization, so it does not have to be super fast.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(PropertyIndexer_t), | intent(in) | :: | this | |||
| type(Excite_2_t), | intent(in) | :: | exc | |||
| integer, | intent(in) | :: | prop_vec(:) |
Check if a double excitation is allowed.
Is called once at initialization, so it does not have to be super fast.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(PropertyIndexer_t), | intent(in) | :: | this | |||
| type(Excite_3_t), | intent(in) | :: | exc | |||
| integer, | intent(in) | :: | prop_vec(:) |
Check if an excitation nI -> nJ is allowed.
Is called once at initialization, so it does not have to be super fast.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(PropertyIndexer_t), | intent(in) | :: | this | |||
| integer, | intent(in) | :: | nI(nEl) | |||
| integer, | intent(in) | :: | nJ(nEl) |
Check if a single excitation is allowed.
Is called once at initialization, so it does not have to be super fast.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(PropertyIndexer_t), | intent(in) | :: | this | |||
| type(Excite_1_t), | intent(in) | :: | exc | |||
| integer, | intent(in) | :: | prop_vec(:) |
Check if a double excitation is allowed.
Is called once at initialization, so it does not have to be super fast.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(PropertyIndexer_t), | intent(in) | :: | this | |||
| type(Excite_2_t), | intent(in) | :: | exc | |||
| integer, | intent(in) | :: | prop_vec(:) |
Check if a double excitation is allowed.
Is called once at initialization, so it does not have to be super fast.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(PropertyIndexer_t), | intent(in) | :: | this | |||
| type(Excite_3_t), | intent(in) | :: | exc | |||
| integer, | intent(in) | :: | prop_vec(:) |
Check if an excitation nI -> nJ is allowed.
Is called once at initialization, so it does not have to be super fast.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(PropertyIndexer_t), | intent(in) | :: | this | |||
| integer, | intent(in) | :: | nI(nEl) | |||
| integer, | intent(in) | :: | nJ(nEl) |
Check if an excitation is allowed.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(PropertyIndexer_t), | intent(in) | :: | this | |||
| class(Excitation_t), | intent(in) | :: | exc | |||
| integer, | intent(in) | :: | prop_vec(:) |
Get all excitated determinants from det_I that are allowed under PropVec constraints.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(PropertyIndexer_t), | intent(in) | :: | this | |||
| integer, | intent(in) | :: | nI(:) |
Starting determinant |
||
| integer, | intent(out) | :: | n_excits |
Number of determinants |
||
| integer(kind=n_int), | intent(out), | allocatable | :: | det_list(:,:) |
Allocatable array of determinants in ilut format |
|
| integer, | intent(in), | optional | :: | ic |
Optional input for excitation level (ic=1 => singles, ic=2 => doubles) If ommited generate all. |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(PropertyIndexer_t), | intent(in) | :: | this | |||
| integer, | intent(in) | :: | nI(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(PropertyIndexer_t), | intent(in) | :: | this | |||
| integer, | intent(in) | :: | nI(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(PropertyIndexer_t), | intent(in) | :: | this |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(PropertyIndexer_t), | intent(in) | :: | this |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(PropertyIndexer_t), | intent(in) | :: | this |
Write a string representation of this PropVec specification to iunit
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(PropertyIndexer_t), | intent(in) | :: | this | |||
| integer, | intent(in) | :: | iunit |