Destroy polynomials.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(polynomials_js), | intent(inout) | :: | self | WENO polynomials. |
elemental subroutine destroy(self)
!< Destroy polynomials.
class(polynomials_js), intent(inout) :: self !< WENO polynomials.
call self%polynomials%destroy
if (allocated(self%coef)) deallocate(self%coef)
endsubroutine destroy