nopen2dets Subroutine

public pure subroutine nopen2dets(nopen, multp, dets)

routine calculates the genealogical pathes for all high spin determinants for given multiplicity multp with Nopen open shells. pathes are returned in arrays dets(1:Nopen,:) example pathes for multp=2 and Nopen=3 1,2,1 means spin up up down 1,0,1 means spin up down up -1,0,1 means spin down up up

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: nopen
integer, intent(in) :: multp
integer, intent(out), allocatable :: dets(:,:)