16 template<
typename REALTYPE>
17 template<
typename AFIELD>
22 int Nin = field_lex.
nin();
23 int Nex = field_lex.
nex();
24 int Nvol = field_lex.
nvol();
32 for (
int ex = 0; ex < Nex; ++ex) {
33 for (
int ist = 0; ist < Nvol; ++ist) {
37 int ieo = (ix + Leo[iyzt]) % 2;
39 for (
int in = 0; in < Nin; ++in) {
40 int index1 = index_lex.
idx(in, Nin, ist, ex);
41 int index2 =
idxh(in, Nin, ist2, ex);
42 field_e.
set(index2, field_lex.
cmp(index1));
45 for (
int in = 0; in < Nin; ++in) {
46 int index1 = index_lex.
idx(in, Nin, ist, ex);
47 int index2 =
idxh(in, Nin, ist2, ex);
48 field_o.
set(index2, field_lex.
cmp(index1));
57 template<
typename REALTYPE>
58 template<
typename AFIELD>
63 int Nin = field_lex.
nin();
64 int Nex = field_lex.
nex();
65 int Nvol = field_lex.
nvol();
73 for (
int ex = 0; ex < Nex; ++ex) {
74 for (
int ist = 0; ist < Nvol; ++ist) {
78 int ieo = (ix + Leo[iyzt]) % 2;
80 for (
int in = 0; in < Nin; ++in) {
81 int index1 = index_lex.
idx(in, Nin, ist, ex);
82 int index2 =
idxh(in, Nin, ist2, ex);
83 field_lex.
set(index1, field_e.
cmp(index2));
86 for (
int in = 0; in < Nin; ++in) {
87 int index1 = index_lex.
idx(in, Nin, ist, ex);
88 int index2 =
idxh(in, Nin, ist2, ex);
89 field_lex.
set(index1, field_o.
cmp(index2));