Deallocate storage space
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(fieldmat_type), | intent(inout) | :: | self |
subroutine fm_deallocate(self)
implicit none
class(fieldmat_type), intent(inout) :: self
if(allocated(self%kyb)) deallocate(self%kyb)
if(allocated(self%heads)) deallocate(self%heads)
end subroutine fm_deallocate