FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(gs2_program_state_type), | intent(inout) | :: | state |
subroutine deallocate_outputs(state)
type(gs2_program_state_type), intent(inout) :: state
if (allocated(state%outputs%pflux)) then
deallocate(state%outputs%pflux)
deallocate(state%outputs%qflux)
deallocate(state%outputs%heat)
end if
end subroutine deallocate_outputs