Allocate storage space
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(fieldmat_type), | intent(inout) | :: | self |
subroutine fm_allocate(self)
implicit none
class(fieldmat_type), intent(inout) :: self
integer :: ik
allocate(self%heads(self%ntheta0, self%naky))
if(.not.self%is_local) return
do ik=1,self%naky
call self%kyb(ik)%allocate
enddo
end subroutine fm_allocate