Clean up GMBE context
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(gmbe_context_t), | intent(inout) | :: | this |
subroutine gmbe_destroy(this) !! Clean up GMBE context class(gmbe_context_t), intent(inout) :: this ! Clean up GMBE-specific data if (allocated(this%pie_atom_sets)) deallocate (this%pie_atom_sets) if (allocated(this%pie_coefficients)) deallocate (this%pie_coefficients) this%n_pie_terms = 0 ! Clean up base class data call this%destroy_base() end subroutine gmbe_destroy