finalize the type rProfile
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(t_rProfile_bspl), | intent(inout) | :: | sf |
self |
SUBROUTINE bsplProfile_free(sf) ! INPUT VARIABLES -------------------------! TYPE(t_rProfile_bspl), INTENT(INOUT) :: sf !! self ! CODE --------------------------------------------------------------------------------------------------------------------------! IF (ALLOCATED(sf%bspl)) THEN CALL sf%bspl%free() DEALLOCATE(sf%bspl) END IF SDEALLOCATE(sf%knots) SDEALLOCATE(sf%coefs) END SUBROUTINE bsplProfile_free