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
|
C
C File: Args_Cfcomplex_Impl.f
C Symbol: Args.Cfcomplex-v1.0
C Symbol Type: class
C Babel Version: 0.10.2
C Description: Server-side implementation for Args.Cfcomplex
C
C WARNING: Automatically generated; only changes within splicers preserved
C
C babel-version = 0.10.2
C
C
C Symbol "Args.Cfcomplex" (version 1.0)
C
C DO-NOT-DELETE splicer.begin(_miscellaneous_code_start)
C Insert extra code here...
C DO-NOT-DELETE splicer.end(_miscellaneous_code_start)
C
C Class constructor called when the class is created.
C
subroutine Args_Cfcomplex__ctor_fi(self)
implicit none
C in Args.Cfcomplex self
integer*8 self
C DO-NOT-DELETE splicer.begin(Args.Cfcomplex._ctor)
C Insert the implementation here...
C DO-NOT-DELETE splicer.end(Args.Cfcomplex._ctor)
end
C
C Class destructor called when the class is deleted.
C
subroutine Args_Cfcomplex__dtor_fi(self)
implicit none
C in Args.Cfcomplex self
integer*8 self
C DO-NOT-DELETE splicer.begin(Args.Cfcomplex._dtor)
C Insert the implementation here...
C DO-NOT-DELETE splicer.end(Args.Cfcomplex._dtor)
end
C
C Static class initializer called exactly once before any user-defined method is dispatched
C
subroutine Args_Cfcomplex__load_fi()
implicit none
C DO-NOT-DELETE splicer.begin(Args.Cfcomplex._load)
C Insert the implementation here...
C DO-NOT-DELETE splicer.end(Args.Cfcomplex._load)
end
C
C Method: returnback[]
C
subroutine Args_Cfcomplex_returnback_fi(self, retval)
implicit none
C in Args.Cfcomplex self
integer*8 self
C out fcomplex retval
complex retval
C DO-NOT-DELETE splicer.begin(Args.Cfcomplex.returnback)
retval = (3.1, 3.1)
C DO-NOT-DELETE splicer.end(Args.Cfcomplex.returnback)
end
C
C Method: passin[]
C
subroutine Args_Cfcomplex_passin_fi(self, c, retval)
implicit none
C in Args.Cfcomplex self
integer*8 self
C in fcomplex c
complex c
C out bool retval
logical retval
C DO-NOT-DELETE splicer.begin(Args.Cfcomplex.passin)
if (real(c) .eq. 3.1 .and. imag(c) .eq. 3.1) then
retval = .true.
else
retval = .false.
endif
C DO-NOT-DELETE splicer.end(Args.Cfcomplex.passin)
end
C
C Method: passout[]
C
subroutine Args_Cfcomplex_passout_fi(self, c, retval)
implicit none
C in Args.Cfcomplex self
integer*8 self
C out fcomplex c
complex c
C out bool retval
logical retval
C DO-NOT-DELETE splicer.begin(Args.Cfcomplex.passout)
c = (3.1, 3.1)
retval = .true.
C DO-NOT-DELETE splicer.end(Args.Cfcomplex.passout)
end
C
C Method: passinout[]
C
subroutine Args_Cfcomplex_passinout_fi(self, c, retval)
implicit none
C in Args.Cfcomplex self
integer*8 self
C inout fcomplex c
complex c
C out bool retval
logical retval
C DO-NOT-DELETE splicer.begin(Args.Cfcomplex.passinout)
c = conjg(c)
retval = .true.
C DO-NOT-DELETE splicer.end(Args.Cfcomplex.passinout)
end
C
C Method: passeverywhere[]
C
subroutine Args_Cfcomplex_passeverywhere_fi(self, c1, c2, c3,
& retval)
implicit none
C in Args.Cfcomplex self
integer*8 self
C in fcomplex c1
complex c1
C out fcomplex c2
complex c2
C inout fcomplex c3
complex c3
C out fcomplex retval
complex retval
C DO-NOT-DELETE splicer.begin(Args.Cfcomplex.passeverywhere)
c2 = (3.1, 3.1)
c3 = conjg(c3)
if (real(c1) .eq. 3.1 .and. imag(c1) .eq. 3.1) then
retval = c1
else
retval = (0.0, 0.0)
endif
C DO-NOT-DELETE splicer.end(Args.Cfcomplex.passeverywhere)
end
C DO-NOT-DELETE splicer.begin(_miscellaneous_code_end)
C Insert extra code here...
C DO-NOT-DELETE splicer.end(_miscellaneous_code_end)
|