contains_ilut Function

private pure function contains_ilut(this, ilut) result(res)

Query wether a determinant in bitmask format is contained in the GAS space.

The function in nI-format is faster! It is assumed that the determinant is contained in the Full CI space and obeys e.g. the Pauli principle. The return value is not defined, if that is not the case!

Type Bound

GASSpec_t

Arguments

Type IntentOptional Attributes Name
class(GASSpec_t), intent(in) :: this

Specification of GAS spaces.

integer(kind=n_int), intent(in) :: ilut(0:nIfTot)

An index of occupied spin orbitals.

Return Value logical


Contents