is that how you manage
This commit is contained in:
@@ -194,7 +194,7 @@ void ScaLBL_ColorModel::AssignComponentLabels(double *phase)
|
||||
for (int j=0;j<Ny;j++){
|
||||
for (int i=0;i<Nx;i++){
|
||||
int n = k*Nx*Ny+j*Nx+i;
|
||||
VALUE=id[n];
|
||||
VALUE=Dm->id[n];
|
||||
// Assign the affinity from the paired list
|
||||
for (int idx=0; idx < NLABELS; idx++){
|
||||
//printf("rank=%i, idx=%i, value=%i, %i, \n",rank(),idx, VALUE,LabelList[idx]);
|
||||
@@ -222,7 +222,7 @@ void ScaLBL_ColorModel::Create(){
|
||||
|
||||
//.........................................................
|
||||
// Initialize communication structures in averaging domain
|
||||
for (int i=0; i<Mask->Nx*Mask->Ny*Mask->Nz; i++) Mask->id[i] = id[i];
|
||||
for (int i=0; i<Nx*Ny*Nz; i++) Mask->id[i] = Dm->id[i];
|
||||
Mask->CommInit();
|
||||
Np=Mask->PoreCount();
|
||||
//...........................................................................
|
||||
|
||||
Reference in New Issue
Block a user