calc_spinvalue_state_generalized Subroutine

private subroutine calc_spinvalue_state_generalized(inc, tgmatrx, rveig_in, spin_value, spinvec, spinvec_atom, torq_value, torq_value_atom, spinflux_atom, alpha_value, eigvect_rot)

Arguments

Type IntentOptional Attributes Name
type(inc_TYPE), intent(in) :: inc
type(tgmatrx_TYPE), intent(in) :: tgmatrx
double complex, intent(in) :: rveig_in(inc%almso,inc%ndegen)
double precision, intent(out) :: spin_value(inc%ndegen,cfg%nsqa)
double precision, intent(inout), allocatable :: spinvec(:,:,:)
double precision, intent(inout), allocatable :: spinvec_atom(:,:,:)
double precision, intent(inout), allocatable :: torq_value(:,:)
double precision, intent(inout), allocatable :: torq_value_atom(:,:,:)
double precision, intent(inout), allocatable :: spinflux_atom(:,:,:)
double precision, intent(inout), allocatable :: alpha_value(:,:)
double complex, intent(inout), optional :: eigvect_rot(:,:,:,:)