1 #include <qpms/ewald.h>
2 #include <qpms/indexing.h>
9 qpms_ewald32_constants_t
*c
= qpms_ewald32_constants_init(LMAX
);
10 for (qpms_l_t l
= 1; l
<= LMAX
; ++l
)
11 for (qpms_m_t m
= -l
; m
<= l
; ++m
) {
12 printf("%d %d: (", l
, m
);
13 qpms_y_t y
= qpms_mn2y(m
, l
);
15 for (int j
= 0; j
<= c
->s1_jMaxes
[y
]; ++j
)
16 printf("%.16g %+.16gj, ", creal(c
->s1_constfacs
[y
][j
]),
17 cimag(c
->s1_constfacs
[y
][j
]));
19 else assert(c
->s1_constfacs
[y
] == NULL
);