TreeMig Code
Loading...
Searching...
No Matches
GFT_end.f90
Go to the documentation of this file.
1
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -*- Mode: F90 -*- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2
!! GFT_end.f90 --- Free/Reset GFT common objects
3
!!
4
!! Auteur : Jalel Chergui (CNRS/IDRIS) <Jalel.Chergui@idris.fr>
5
!! Créé le : Tue Feb 19 10:03:47 2002
6
!! Dern. mod. par : Jalel Chergui (CNRS/IDRIS) <Jalel.Chergui@idris.fr>
7
!! Dern. mod. le : Mon Apr 15 14:22:48 2002
8
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
9
!
10
! Permission is granted to copy and distribute this file or modified
11
! versions of this file for no fee, provided the copyright notice and
12
! this permission notice are preserved on all copies.
13
! Copyright (C) Februry 2002, CNRS/IDRIS, Jalel.Chergui@idris.fr.
14
!
15
MODULE
gft_end
16
USE
gft_common
17
18
IMPLICIT NONE
19
20
PRIVATE
21
22
PUBLIC
::
gft_end_fft
23
INTERFACE
gft_end_fft
24
MODULE PROCEDURE
gft_end_cc, gft_end_rcr, gft_end_mcc, gft_end_mrcr
25
END INTERFACE
gft_end_fft
26
27
CONTAINS
28
29
SUBROUTINE
gft_end_cc(FFT, code)
30
IMPLICIT NONE
31
32
!... Input dummy arguments
33
TYPE
(
gft_cc
),
INTENT(INOUT)
:: FFT
34
35
!... Output dummy arguments
36
INTEGER
,
OPTIONAL
,
INTENT(OUT)
:: code
37
38
fft%Nx = -1
39
fft%Ny = -1
40
fft%Nz = -1
41
fft%BF = 1
42
fft%Scale = 1.0_gft_prec
43
fft%Isign = 0
44
fft%Init = .false.
45
46
IF
(
ASSOCIATED
(fft%Table) )
DEALLOCATE
(fft%Table)
47
IF
(
ASSOCIATED
(fft%Work) )
DEALLOCATE
(fft%Work)
48
49
IF
(
PRESENT
(code) ) code=0
50
END SUBROUTINE
gft_end_cc
51
52
SUBROUTINE
gft_end_rcr(FFT, code)
53
IMPLICIT NONE
54
55
!... Input dummy arguments
56
TYPE
(
gft_rcr
),
INTENT(INOUT)
:: FFT
57
58
!... Output dummy arguments
59
INTEGER
,
OPTIONAL
,
INTENT(OUT)
:: code
60
61
fft%Nx = -1
62
fft%Ny = -1
63
fft%Nz = -1
64
fft%BF = 1
65
fft%Scale = 1.0_gft_prec
66
fft%Isign = 0
67
fft%Init = .false.
68
69
IF
(
ASSOCIATED
(fft%Table) )
DEALLOCATE
(fft%Table)
70
IF
(
ASSOCIATED
(fft%Work) )
DEALLOCATE
(fft%Work)
71
72
IF
(
PRESENT
(code) ) code=0
73
END SUBROUTINE
gft_end_rcr
74
75
SUBROUTINE
gft_end_mcc(FFT, code)
76
IMPLICIT NONE
77
78
!... Input dummy arguments
79
TYPE
(
gft_mcc
),
INTENT(INOUT)
:: FFT
80
81
!... Output dummy arguments
82
INTEGER
,
OPTIONAL
,
INTENT(OUT)
:: code
83
84
fft%Nx = -1
85
fft%Ny = -1
86
fft%BF = 1
87
fft%Scale = 1.0_gft_prec
88
fft%Isign = 0
89
fft%Init = .false.
90
91
IF
(
ASSOCIATED
(fft%Table) )
DEALLOCATE
(fft%Table)
92
IF
(
ASSOCIATED
(fft%Work) )
DEALLOCATE
(fft%Work)
93
94
IF
(
PRESENT
(code) ) code=0
95
END SUBROUTINE
gft_end_mcc
96
97
SUBROUTINE
gft_end_mrcr(FFT, code)
98
IMPLICIT NONE
99
100
!... Input dummy arguments
101
TYPE
(
gft_mrcr
),
INTENT(INOUT)
:: FFT
102
103
!... Output dummy arguments
104
INTEGER
,
OPTIONAL
,
INTENT(OUT)
:: code
105
106
fft%Nx = -1
107
fft%Ny = -1
108
fft%BF = 1
109
fft%Scale = 1.0_gft_prec
110
fft%Isign = 0
111
fft%Init = .false.
112
113
IF
(
ASSOCIATED
(fft%Table) )
DEALLOCATE
(fft%Table)
114
IF
(
ASSOCIATED
(fft%Work) )
DEALLOCATE
(fft%Work)
115
116
IF
(
PRESENT
(code) ) code=0
117
END SUBROUTINE
gft_end_mrcr
118
END MODULE
gft_end
gft_end::gft_end_fft
Definition
GFT_end.f90:23
gft_common
Definition
GFT_common.f90:15
gft_end
Definition
GFT_end.f90:15
gft_common::gft_cc
Definition
GFT_common.f90:30
gft_common::gft_mcc
Definition
GFT_common.f90:72
gft_common::gft_mrcr
Definition
GFT_common.f90:88
gft_common::gft_rcr
Definition
GFT_common.f90:49
sourceGFT
GFT_end.f90
Generated on Wed Mar 27 2024 13:24:05 for TreeMig Code by
1.10.0