File: Args_Cfcomplex_Impl.F90

package info (click to toggle)
babel 0.10.2-1
  • links: PTS
  • area: contrib
  • in suites: sarge
  • size: 43,932 kB
  • ctags: 29,707
  • sloc: java: 74,695; ansic: 73,142; cpp: 40,649; sh: 18,411; f90: 10,062; fortran: 6,727; python: 6,406; makefile: 3,866; xml: 118; perl: 48
file content (206 lines) | stat: -rw-r--r-- 5,785 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
! 
! File:          Args_Cfcomplex_Impl.F90
! Symbol:        Args.Cfcomplex-v1.0
! Symbol Type:   class
! Babel Version: 0.10.2
! Description:   Server-side implementation for Args.Cfcomplex
! 
! WARNING: Automatically generated; only changes within splicers preserved
! 
! babel-version = 0.10.2
! 


! 
! Symbol "Args.Cfcomplex" (version 1.0)
! 


#include "Args_Cfcomplex_fAbbrev.h"
#include "sidl_ClassInfo_fAbbrev.h"
#include "sidl_BaseInterface_fAbbrev.h"
#include "sidl_BaseClass_fAbbrev.h"
! DO-NOT-DELETE splicer.begin(_miscellaneous_code_start)
! Insert extra code here...
! DO-NOT-DELETE splicer.end(_miscellaneous_code_start)




! 
! Class constructor called when the class is created.
! 

recursive subroutine Args_Cfcomplex__ctor_mi(self)
  use Args_Cfcomplex
  use Args_Cfcomplex_impl
  ! DO-NOT-DELETE splicer.begin(Args.Cfcomplex._ctor.use)
  ! Insert use statements here...
  ! DO-NOT-DELETE splicer.end(Args.Cfcomplex._ctor.use)
  implicit none
  type(Args_Cfcomplex_t) :: self ! in

! DO-NOT-DELETE splicer.begin(Args.Cfcomplex._ctor)
! Insert the implementation here...
! DO-NOT-DELETE splicer.end(Args.Cfcomplex._ctor)
end subroutine Args_Cfcomplex__ctor_mi


! 
! Class destructor called when the class is deleted.
! 

recursive subroutine Args_Cfcomplex__dtor_mi(self)
  use Args_Cfcomplex
  use Args_Cfcomplex_impl
  ! DO-NOT-DELETE splicer.begin(Args.Cfcomplex._dtor.use)
  ! Insert use statements here...
  ! DO-NOT-DELETE splicer.end(Args.Cfcomplex._dtor.use)
  implicit none
  type(Args_Cfcomplex_t) :: self ! in

! DO-NOT-DELETE splicer.begin(Args.Cfcomplex._dtor)
! Insert the implementation here...
! DO-NOT-DELETE splicer.end(Args.Cfcomplex._dtor)
end subroutine Args_Cfcomplex__dtor_mi


! 
! Static class initializer called exactly once before any user-defined method is dispatched
! 

recursive subroutine Args_Cfcomplex__load_mi()
  use Args_Cfcomplex
  use Args_Cfcomplex_impl
  ! DO-NOT-DELETE splicer.begin(Args.Cfcomplex._load.use)
  ! Insert use statements here...
  ! DO-NOT-DELETE splicer.end(Args.Cfcomplex._load.use)
  implicit none

! DO-NOT-DELETE splicer.begin(Args.Cfcomplex._load)
! Insert the implementation here...
! DO-NOT-DELETE splicer.end(Args.Cfcomplex._load)
end subroutine Args_Cfcomplex__load_mi


! 
! Method:  returnback[]
! 

recursive subroutine Args_Cfcomplex_returnback_mi(self, retval)
  use Args_Cfcomplex
  use Args_Cfcomplex_impl
  ! DO-NOT-DELETE splicer.begin(Args.Cfcomplex.returnback.use)
  ! Insert use statements here...
  ! DO-NOT-DELETE splicer.end(Args.Cfcomplex.returnback.use)
  implicit none
  type(Args_Cfcomplex_t) :: self ! in
  complex (selected_real_kind(6, 37)) :: retval ! out

! DO-NOT-DELETE splicer.begin(Args.Cfcomplex.returnback)
  retval = (3.1, 3.1)
! DO-NOT-DELETE splicer.end(Args.Cfcomplex.returnback)
end subroutine Args_Cfcomplex_returnback_mi


! 
! Method:  passin[]
! 

recursive subroutine Args_Cfcomplex_passin_mi(self, c, retval)
  use Args_Cfcomplex
  use Args_Cfcomplex_impl
  ! DO-NOT-DELETE splicer.begin(Args.Cfcomplex.passin.use)
  ! Insert use statements here...
  ! DO-NOT-DELETE splicer.end(Args.Cfcomplex.passin.use)
  implicit none
  type(Args_Cfcomplex_t) :: self ! in
  complex (selected_real_kind(6, 37)) :: c ! in
  logical :: retval ! out

! DO-NOT-DELETE splicer.begin(Args.Cfcomplex.passin)
  if (real(c) .eq. 3.1 .and. aimag(c) .eq. 3.1) then
     retval = .true.
  else
     retval = .false.
  endif
! DO-NOT-DELETE splicer.end(Args.Cfcomplex.passin)
end subroutine Args_Cfcomplex_passin_mi


! 
! Method:  passout[]
! 

recursive subroutine Args_Cfcomplex_passout_mi(self, c, retval)
  use Args_Cfcomplex
  use Args_Cfcomplex_impl
  ! DO-NOT-DELETE splicer.begin(Args.Cfcomplex.passout.use)
  ! Insert use statements here...
  ! DO-NOT-DELETE splicer.end(Args.Cfcomplex.passout.use)
  implicit none
  type(Args_Cfcomplex_t) :: self ! in
  complex (selected_real_kind(6, 37)) :: c ! out
  logical :: retval ! out

! DO-NOT-DELETE splicer.begin(Args.Cfcomplex.passout)
  c = (3.1, 3.1)
  retval = .true.
! DO-NOT-DELETE splicer.end(Args.Cfcomplex.passout)
end subroutine Args_Cfcomplex_passout_mi


! 
! Method:  passinout[]
! 

recursive subroutine Args_Cfcomplex_passinout_mi(self, c, retval)
  use Args_Cfcomplex
  use Args_Cfcomplex_impl
  ! DO-NOT-DELETE splicer.begin(Args.Cfcomplex.passinout.use)
  ! Insert use statements here...
  ! DO-NOT-DELETE splicer.end(Args.Cfcomplex.passinout.use)
  implicit none
  type(Args_Cfcomplex_t) :: self ! in
  complex (selected_real_kind(6, 37)) :: c ! inout
  logical :: retval ! out

! DO-NOT-DELETE splicer.begin(Args.Cfcomplex.passinout)
  c = conjg(c)
  retval = .true.
! DO-NOT-DELETE splicer.end(Args.Cfcomplex.passinout)
end subroutine Args_Cfcomplex_passinout_mi


! 
! Method:  passeverywhere[]
! 

recursive subroutine Cfc_passeverywhereaucwlc5bt8_mi(self, c1, c2, c3, retval)
  use Args_Cfcomplex
  use Args_Cfcomplex_impl
  ! DO-NOT-DELETE splicer.begin(Args.Cfcomplex.passeverywhere.use)
  ! Insert use statements here...
  ! DO-NOT-DELETE splicer.end(Args.Cfcomplex.passeverywhere.use)
  implicit none
  type(Args_Cfcomplex_t) :: self ! in
  complex (selected_real_kind(6, 37)) :: c1 ! in
  complex (selected_real_kind(6, 37)) :: c2 ! out
  complex (selected_real_kind(6, 37)) :: c3 ! inout
  complex (selected_real_kind(6, 37)) :: retval ! out

! DO-NOT-DELETE splicer.begin(Args.Cfcomplex.passeverywhere)
  c2 = (3.1, 3.1)
  c3 = conjg(c3)
  if (real(c1) .eq. 3.1 .and. aimag(c1) .eq. 3.1) then
     retval = c1
  else
     retval = (0.0, 0.0)
  endif
! DO-NOT-DELETE splicer.end(Args.Cfcomplex.passeverywhere)
end subroutine Cfc_passeverywhereaucwlc5bt8_mi


! DO-NOT-DELETE splicer.begin(_miscellaneous_code_end)
! Insert extra code here...
! DO-NOT-DELETE splicer.end(_miscellaneous_code_end)