Allocate storage space
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pc_type), | intent(inout) | :: | self |
subroutine pc_allocate(self)
use kt_grids, only: naky, ntheta0
implicit none
class(pc_type), intent(inout) :: self
allocate(self%is_local(ntheta0,naky))
allocate(self%itik_subcom(ntheta0,naky))
allocate(self%nproc_per_cell(ntheta0,naky))
allocate(self%nresp_per_cell(ntheta0,naky))
allocate(self%navail_per_cell(ntheta0,naky))
end subroutine pc_allocate