lookup_supergroup_idx Function

private function lookup_supergroup_idx(this, idet, nI) result(idx)

Use a precomputed supergroup index from global_det_data.

This function heavily relies on correctly initialized global data outside the control of this class. Carefully make sure, that global_det_data is correctly initialized.

Type Bound



Type IntentOptional Attributes Name
class(SuperGroupIndexer_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 supergroup index should be calculated.

Return Value integer