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