communication seems to work
This commit is contained in:
parent
29e4c76561
commit
ad8c5f6e26
@ -702,7 +702,8 @@ int Membrane::D3Q7_MapRecv(int Cqx, int Cqy, int Cqz, int *d3q19_recvlist,
|
||||
//printf(" Nonlocal value %i, %i, %i \n",i,j,k);
|
||||
ReturnLabels[idx] = 0;
|
||||
if (distanceLocal*distanceNonLocal < 0.0){
|
||||
ReturnLabels[idx] = 1;
|
||||
if (distanceLocal > 0.0) ReturnLabels[idx] = 1;
|
||||
else ReturnLabels[idx] = 2;
|
||||
countMembraneLinks++;
|
||||
}
|
||||
}
|
||||
|
@ -54,8 +54,8 @@ extern "C" void ScaLBL_D3Q7_Membrane_AssignLinkCoef_halo(
|
||||
n = d3q7_recvlist[idx];
|
||||
label = d3q7_linkList[idx];
|
||||
ap = 1.0; // regular streaming rule
|
||||
aq = 0.0;
|
||||
if (label == 1 && !(n < 0)){
|
||||
aq = 1.0;
|
||||
if (label > 0 && !(n < 0)){
|
||||
nqm = Map[n];
|
||||
distanceLocal = Distance[nqm];
|
||||
psiLocal = Psi[nqm];
|
||||
|
Loading…
Reference in New Issue
Block a user