@@ -23,16 +23,8 @@ template<typename BIGINT,
2323 typename XYZArr, // x[j], y[j], z[j] → FLT
2424 typename CArr, // c[j] → Complex<FLT>
2525 typename FArr> // f[m] → Complex<FLT>
26- void dirft3d1 (BIGINT nj,
27- const XYZArr &x,
28- const XYZArr &y,
29- const XYZArr &z,
30- const CArr &c,
31- int iflag,
32- BIGINT ms,
33- BIGINT mt,
34- BIGINT mu,
35- FArr &f) {
26+ void dirft3d1 (BIGINT nj, const XYZArr &x, const XYZArr &y, const XYZArr &z, const CArr &c,
27+ int iflag, BIGINT ms, BIGINT mt, BIGINT mu, FArr &f) {
3628 using Complex = std::decay_t <decltype (c[0 ])>;
3729 using FLT = typename Complex::value_type;
3830
@@ -85,16 +77,8 @@ void dirft3d1(BIGINT nj,
8577// Uses winding trick. Barnett 2/1/17
8678// ------------------------------------------------------------
8779template <typename BIGINT, typename XYZArr, typename CArr, typename FArr>
88- void dirft3d2 (BIGINT nj,
89- const XYZArr &x,
90- const XYZArr &y,
91- const XYZArr &z,
92- CArr &c,
93- int iflag,
94- BIGINT ms,
95- BIGINT mt,
96- BIGINT mu,
97- const FArr &f) {
80+ void dirft3d2 (BIGINT nj, const XYZArr &x, const XYZArr &y, const XYZArr &z, CArr &c,
81+ int iflag, BIGINT ms, BIGINT mt, BIGINT mu, const FArr &f) {
9882 using Complex = std::decay_t <decltype (c[0 ])>;
9983 using FLT = typename Complex::value_type;
10084
@@ -137,16 +121,8 @@ void dirft3d2(BIGINT nj,
137121// f[k] = Σ_j c[j] exp(i * iflag * (s[k] x[j] + t[k] y[j] + u[k] z[j]))
138122// ------------------------------------------------------------
139123template <typename BIGINT, typename XYZArr, typename CArr, typename STUArr, typename FArr>
140- void dirft3d3 (BIGINT nj,
141- const XYZArr &x,
142- const XYZArr &y,
143- const XYZArr &z,
144- const CArr &c,
145- int iflag,
146- BIGINT nk,
147- const STUArr &s,
148- const STUArr &t,
149- const STUArr &u,
124+ void dirft3d3 (BIGINT nj, const XYZArr &x, const XYZArr &y, const XYZArr &z, const CArr &c,
125+ int iflag, BIGINT nk, const STUArr &s, const STUArr &t, const STUArr &u,
150126 FArr &f) {
151127 using Complex = std::decay_t <decltype (c[0 ])>;
152128 using FLT = typename Complex::value_type;
0 commit comments