Destroy a boolean mask and free memory
@param[in,out] this The boolean mask instance
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(boolean_mask), | intent(inout) | :: | this |
subroutine mask_destructor(this) class(boolean_mask), intent(inout) :: this if (allocated(this % mask)) deallocate (this % mask) this % size = 0 this % initialized = .false. end subroutine mask_destructor