nopen2csfs Subroutine

public pure subroutine nopen2csfs(nopen, multp, csfs)

routine calculates the genealogical pathes for all configuration state functions for given multiplicity multp with Nopen open shells. pathes are returned in arrays csfs(1:Nopen, :) example pathes for multp=2 and Nopen=3 there are two spin configurations: 1,2,1 means spin configuration '//\' 1,0,1 means spin configuration '/\/'

Arguments

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