Unregisters a reference to the mutable data type The object is destroy when there is no reference to it left.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_mutable_obj), | intent(in) | :: | mutable |
mutable data |
whether the object is instantiated
PURE FUNCTION dbcsr_mutable_instantiated(mutable) RESULT(instantiated)
!! Unregisters a reference to the mutable data type
!! The object is destroy when there is no reference to it left.
TYPE(dbcsr_mutable_obj), INTENT(IN) :: mutable
!! mutable data
LOGICAL :: instantiated
!! whether the object is instantiated
! ---------------------------------------------------------------------------
instantiated = ASSOCIATED(mutable%m)
END FUNCTION dbcsr_mutable_instantiated