fix component volume fraction
This commit is contained in:
parent
52fd941322
commit
8ef49f8a70
@ -208,7 +208,7 @@ void ScaLBL_ColorModel::AssignComponentLabels(double *phase)
|
||||
for (unsigned int idx=0; idx<NLABELS; idx++){
|
||||
VALUE=LabelList[idx];
|
||||
AFFINITY=AffinityList[idx];
|
||||
double volume_fraction = double(label_count_global[idx])/double((Nx-2)*(Ny-2)*(Nz-2)*nprocz);
|
||||
double volume_fraction = double(label_count_global[idx])/double((Nx-2)*(Ny-2)*(Nz-2)*nprocs);
|
||||
printf(" label=%i, affinity=%f, volume fraction==%f\n",int(VALUE),AFFINITY,volume_fraction);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user