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