Clean up MBE context
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(mbe_context_t), | intent(inout) | :: | this |
subroutine mbe_destroy(this) !! Clean up MBE context class(mbe_context_t), intent(inout) :: this ! Clean up MBE-specific data if (allocated(this%polymers)) deallocate (this%polymers) this%total_fragments = 0 this%max_level = 0 ! Clean up base class data call this%destroy_base() end subroutine mbe_destroy