Safely deallocates transport property fields.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(transport_properties_t), | intent(inout) | :: | transport |
subroutine finalize_transport(transport) type(transport_properties_t), intent(inout) :: transport if (allocated(transport%rho)) deallocate(transport%rho) if (allocated(transport%mu)) deallocate(transport%mu) if (allocated(transport%nu)) deallocate(transport%nu) if (allocated(transport%lambda)) deallocate(transport%lambda) if (allocated(transport%diffusivity)) deallocate(transport%diffusivity) end subroutine finalize_transport