backend_teardown_mod.F90 Source File


This file depends on

sourcefile~~backend_teardown_mod.f90~~EfferentGraph sourcefile~backend_teardown_mod.f90 backend_teardown_mod.F90 sourcefile~tpm_fftw.f90 tpm_fftw.F90 sourcefile~backend_teardown_mod.f90->sourcefile~tpm_fftw.f90 sourcefile~tpm_flt.f90 tpm_flt.F90 sourcefile~backend_teardown_mod.f90->sourcefile~tpm_flt.f90 sourcefile~tpm_trans.f90 tpm_trans.F90 sourcefile~backend_teardown_mod.f90->sourcefile~tpm_trans.f90 sourcefile~abort_trans_mod.f90 abort_trans_mod.F90 sourcefile~tpm_fftw.f90->sourcefile~abort_trans_mod.f90 sourcefile~parkind_ectrans.f90 parkind_ectrans.F90 sourcefile~tpm_flt.f90->sourcefile~parkind_ectrans.f90 sourcefile~seefmm_mix.f90 seefmm_mix.F90 sourcefile~tpm_flt.f90->sourcefile~seefmm_mix.f90 sourcefile~growing_allocator_mod.f90 growing_allocator_mod.F90 sourcefile~tpm_trans.f90->sourcefile~growing_allocator_mod.f90 sourcefile~tpm_trans.f90->sourcefile~parkind_ectrans.f90 sourcefile~tpm_gen.f90 tpm_gen.F90 sourcefile~abort_trans_mod.f90->sourcefile~tpm_gen.f90 sourcefile~growing_allocator_mod.f90->sourcefile~abort_trans_mod.f90 sourcefile~growing_allocator_mod.f90->sourcefile~tpm_gen.f90 sourcefile~seefmm_mix.f90->sourcefile~parkind_ectrans.f90 sourcefile~wts500_mod.f90 wts500_mod.F90 sourcefile~seefmm_mix.f90->sourcefile~wts500_mod.f90

Files dependent on this one

sourcefile~~backend_teardown_mod.f90~~AfferentGraph sourcefile~backend_teardown_mod.f90 backend_teardown_mod.F90 sourcefile~setup_trans.f90 setup_trans.F90 sourcefile~setup_trans.f90->sourcefile~backend_teardown_mod.f90 sourcefile~setup_trans.f90~2 setup_trans.F90 sourcefile~setup_trans.f90~2->sourcefile~backend_teardown_mod.f90

Source Code

! (C) Copyright 2026- ECMWF.
! 
! This software is licensed under the terms of the Apache Licence Version 2.0
! which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
! In applying this licence, ECMWF does not waive the privileges and immunities
! granted to it by virtue of its status as an intergovernmental organisation
! nor does it submit to any jurisdiction.

MODULE BACKEND_TEARDOWN_MOD

USE TPM_FLT,   ONLY: S, FLT_RESOL
USE TPM_FFTW,  ONLY: TW, FFTW_RESOL
USE TPM_TRANS, ONLY: FOUBUF, FOUBUF_IN

CONTAINS
SUBROUTINE BACKEND_TEARDOWN

IMPLICIT NONE

NULLIFY(S)
IF (ALLOCATED(FLT_RESOL)) DEALLOCATE(FLT_RESOL)

NULLIFY(TW)
IF (ALLOCATED(FFTW_RESOL)) DEALLOCATE(FFTW_RESOL)

IF(ALLOCATED(FOUBUF_IN)) DEALLOCATE(FOUBUF_IN)
IF(ALLOCATED(FOUBUF)) DEALLOCATE(FOUBUF)

END SUBROUTINE BACKEND_TEARDOWN
END MODULE BACKEND_TEARDOWN_MOD