allocate_semi_inf_host Subroutine

public subroutine allocate_semi_inf_host(flag, nemb, tleft, tright)

Subroutine handling the allocation/deallocation of arrays that describe the left and right host for the calculation of slabs

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: flag
integer, intent(in) :: nemb

number of 'embedding' positions

real(kind=dp), intent(inout), dimension (:, :), allocatable :: tleft

Vectors of the basis for the left host

real(kind=dp), intent(inout), dimension (:, :), allocatable :: tright

vectors of the basis for the right host