Returns the allocation status of the domains sub-components.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(domain_type), | intent(in) | :: | self |
|
pure elemental logical function isAllocated(self)
!! Returns the allocation status of the domains sub-components.
class(domain_type),intent(in) :: self !! `domain` instance
isAllocated = allocated(self % spectrum)
endfunction isAllocated