get_possible_spaces_t Abstract Interface

abstract interface
private pure function get_possible_spaces_t(this, supergroup, add_holes, add_particles, n_total) result(spaces)

Arguments

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

Specification of GAS spaces.

integer, intent(in) :: supergroup(size(this%GAS_sizes))

The particles per GAS space.

integer, intent(in), optional :: add_holes(:)

An index of orbitals where particles should be deleted before creating the new particle.

integer, intent(in), optional :: add_particles(:)

Index of orbitals where particles should be created before creating the new particle.

integer, intent(in), optional :: n_total

The total number of particles that will be created. Defaults to one. (Relevant for double excitations)

Return Value integer,allocatable,(:)

Description

Return the GAS spaces, where one particle can be created.

The returned array can be empty (allocated, but size == 0).