50 integer ch_dim1, ch_dim2, ch_offset, cc_dim1, cc_dim2, cc_dim3, cc_offset,
69 cc_offset = 1 + cc_dim1 * (1 + cc_dim2 * (1 + cc_dim3));
73 ch_offset = 1 + ch_dim1 * (1 + (ch_dim2 << 2));
77 arg = atan(1.) * 8. / 3.;
81 for (k = 1; k <= i__1; ++k) {
82 ch[((k * 3 + 1) * ch_dim2 + 1) * ch_dim1 + 1] = cc[((k + cc_dim3) *
83 cc_dim2 + 1) * cc_dim1 + 1] + (cc[((k + (cc_dim3 << 1)) *
84 cc_dim2 + 1) * cc_dim1 + 1] + cc[((k + cc_dim3 * 3) * cc_dim2
86 ch[((k * 3 + 3) * ch_dim2 + 1) * ch_dim1 + 1] = taui * (cc[((k +
87 cc_dim3 * 3) * cc_dim2 + 1) * cc_dim1 + 1] - cc[((k + (
88 cc_dim3 << 1)) * cc_dim2 + 1) * cc_dim1 + 1]);
89 ch[(*ido + (k * 3 + 2) * ch_dim2) * ch_dim1 + 1] = cc[((k + cc_dim3) *
90 cc_dim2 + 1) * cc_dim1 + 1] + taur * (cc[((k + (cc_dim3 << 1)
91 ) * cc_dim2 + 1) * cc_dim1 + 1] + cc[((k + cc_dim3 * 3) *
92 cc_dim2 + 1) * cc_dim1 + 1]);
100 for (k = 1; k <= i__1; ++k) {
102 for (i__ = 3; i__ <= i__2; i__ += 2) {
104 ch[(i__ - 1 + (k * 3 + 1) * ch_dim2) * ch_dim1 + 1] = cc[(i__ - 1
105 + (k + cc_dim3) * cc_dim2) * cc_dim1 + 1] + (wa1[i__ - 2]
106 * cc[(i__ - 1 + (k + (cc_dim3 << 1)) * cc_dim2) * cc_dim1
107 + 1] + wa1[i__ - 1] * cc[(i__ + (k + (cc_dim3 << 1)) *
108 cc_dim2) * cc_dim1 + 1] + (wa2[i__ - 2] * cc[(i__ - 1 + (
109 k + cc_dim3 * 3) * cc_dim2) * cc_dim1 + 1] + wa2[i__ - 1]
110 * cc[(i__ + (k + cc_dim3 * 3) * cc_dim2) * cc_dim1 + 1]));
111 ch[(i__ + (k * 3 + 1) * ch_dim2) * ch_dim1 + 1] = cc[(i__ + (k +
112 cc_dim3) * cc_dim2) * cc_dim1 + 1] + (wa1[i__ - 2] * cc[(
113 i__ + (k + (cc_dim3 << 1)) * cc_dim2) * cc_dim1 + 1] -
114 wa1[i__ - 1] * cc[(i__ - 1 + (k + (cc_dim3 << 1)) *
115 cc_dim2) * cc_dim1 + 1] + (wa2[i__ - 2] * cc[(i__ + (k +
116 cc_dim3 * 3) * cc_dim2) * cc_dim1 + 1] - wa2[i__ - 1] *
117 cc[(i__ - 1 + (k + cc_dim3 * 3) * cc_dim2) * cc_dim1 + 1])
119 ch[(i__ - 1 + (k * 3 + 3) * ch_dim2) * ch_dim1 + 1] = cc[(i__ - 1
120 + (k + cc_dim3) * cc_dim2) * cc_dim1 + 1] + taur * (wa1[
121 i__ - 2] * cc[(i__ - 1 + (k + (cc_dim3 << 1)) * cc_dim2) *
122 cc_dim1 + 1] + wa1[i__ - 1] * cc[(i__ + (k + (cc_dim3 <<
123 1)) * cc_dim2) * cc_dim1 + 1] + (wa2[i__ - 2] * cc[(i__ -
124 1 + (k + cc_dim3 * 3) * cc_dim2) * cc_dim1 + 1] + wa2[i__
125 - 1] * cc[(i__ + (k + cc_dim3 * 3) * cc_dim2) * cc_dim1 +
126 1])) + taui * (wa1[i__ - 2] * cc[(i__ + (k + (cc_dim3 <<
127 1)) * cc_dim2) * cc_dim1 + 1] - wa1[i__ - 1] * cc[(i__ -
128 1 + (k + (cc_dim3 << 1)) * cc_dim2) * cc_dim1 + 1] - (wa2[
129 i__ - 2] * cc[(i__ + (k + cc_dim3 * 3) * cc_dim2) *
130 cc_dim1 + 1] - wa2[i__ - 1] * cc[(i__ - 1 + (k + cc_dim3 *
131 3) * cc_dim2) * cc_dim1 + 1]));
132 ch[(ic - 1 + (k * 3 + 2) * ch_dim2) * ch_dim1 + 1] = cc[(i__ - 1
133 + (k + cc_dim3) * cc_dim2) * cc_dim1 + 1] + taur * (wa1[
134 i__ - 2] * cc[(i__ - 1 + (k + (cc_dim3 << 1)) * cc_dim2) *
135 cc_dim1 + 1] + wa1[i__ - 1] * cc[(i__ + (k + (cc_dim3 <<
136 1)) * cc_dim2) * cc_dim1 + 1] + (wa2[i__ - 2] * cc[(i__ -
137 1 + (k + cc_dim3 * 3) * cc_dim2) * cc_dim1 + 1] + wa2[i__
138 - 1] * cc[(i__ + (k + cc_dim3 * 3) * cc_dim2) * cc_dim1 +
139 1])) - taui * (wa1[i__ - 2] * cc[(i__ + (k + (cc_dim3 <<
140 1)) * cc_dim2) * cc_dim1 + 1] - wa1[i__ - 1] * cc[(i__ -
141 1 + (k + (cc_dim3 << 1)) * cc_dim2) * cc_dim1 + 1] - (wa2[
142 i__ - 2] * cc[(i__ + (k + cc_dim3 * 3) * cc_dim2) *
143 cc_dim1 + 1] - wa2[i__ - 1] * cc[(i__ - 1 + (k + cc_dim3 *
144 3) * cc_dim2) * cc_dim1 + 1]));
145 ch[(i__ + (k * 3 + 3) * ch_dim2) * ch_dim1 + 1] = cc[(i__ + (k +
146 cc_dim3) * cc_dim2) * cc_dim1 + 1] + taur * (wa1[i__ - 2]
147 * cc[(i__ + (k + (cc_dim3 << 1)) * cc_dim2) * cc_dim1 + 1]
148 - wa1[i__ - 1] * cc[(i__ - 1 + (k + (cc_dim3 << 1)) *
149 cc_dim2) * cc_dim1 + 1] + (wa2[i__ - 2] * cc[(i__ + (k +
150 cc_dim3 * 3) * cc_dim2) * cc_dim1 + 1] - wa2[i__ - 1] *
151 cc[(i__ - 1 + (k + cc_dim3 * 3) * cc_dim2) * cc_dim1 + 1])
152 ) + taui * (wa2[i__ - 2] * cc[(i__ - 1 + (k + cc_dim3 * 3)
153 * cc_dim2) * cc_dim1 + 1] + wa2[i__ - 1] * cc[(i__ + (k
154 + cc_dim3 * 3) * cc_dim2) * cc_dim1 + 1] - (wa1[i__ - 2] *
155 cc[(i__ - 1 + (k + (cc_dim3 << 1)) * cc_dim2) * cc_dim1
156 + 1] + wa1[i__ - 1] * cc[(i__ + (k + (cc_dim3 << 1)) *
157 cc_dim2) * cc_dim1 + 1]));
158 ch[(ic + (k * 3 + 2) * ch_dim2) * ch_dim1 + 1] = taui * (wa2[i__
159 - 2] * cc[(i__ - 1 + (k + cc_dim3 * 3) * cc_dim2) *
160 cc_dim1 + 1] + wa2[i__ - 1] * cc[(i__ + (k + cc_dim3 * 3)
161 * cc_dim2) * cc_dim1 + 1] - (wa1[i__ - 2] * cc[(i__ - 1 +
162 (k + (cc_dim3 << 1)) * cc_dim2) * cc_dim1 + 1] + wa1[i__
163 - 1] * cc[(i__ + (k + (cc_dim3 << 1)) * cc_dim2) *
164 cc_dim1 + 1])) - (cc[(i__ + (k + cc_dim3) * cc_dim2) *
165 cc_dim1 + 1] + taur * (wa1[i__ - 2] * cc[(i__ + (k + (
166 cc_dim3 << 1)) * cc_dim2) * cc_dim1 + 1] - wa1[i__ - 1] *
167 cc[(i__ - 1 + (k + (cc_dim3 << 1)) * cc_dim2) * cc_dim1 +
168 1] + (wa2[i__ - 2] * cc[(i__ + (k + cc_dim3 * 3) *
169 cc_dim2) * cc_dim1 + 1] - wa2[i__ - 1] * cc[(i__ - 1 + (k
170 + cc_dim3 * 3) * cc_dim2) * cc_dim1 + 1])));