47 using DESCRIPTOR =
typename CELL::descriptor_t;
48 int reflectionPop[DESCRIPTOR::q];
52 int mult = 2 / (NX*NX + NY*NY + NZ*NZ);
54 for (
int iPop = 1; iPop < DESCRIPTOR::q; iPop++) {
55 reflectionPop[iPop] = 0;
58 if ( scalarProduct < 0) {
72 for (
int i = 1; i < DESCRIPTOR::q; i++) {
76 reflectionPop[iPop] = i;
82 for (
int iPop = 1; iPop < DESCRIPTOR::q ; ++iPop) {
83 if (reflectionPop[iPop]!=0) {
85 x_b[iPop] = x_b[reflectionPop[iPop]];