Working on component labeling
This commit is contained in:
parent
83c0a8f0e7
commit
db72ba0739
@ -513,11 +513,15 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
printf("Media porosity is %f \n",porosity);
|
printf("Media porosity is %f \n",porosity);
|
||||||
|
|
||||||
|
FILE *NWP;
|
||||||
|
NWP = fopen("NWP.dat","wb");
|
||||||
|
fwrite(NWP.get(),4,Nx*Ny*Nz,NWP);
|
||||||
|
fclose(NWP);
|
||||||
|
|
||||||
FILE *BLOBS;
|
FILE *WP;
|
||||||
BLOBS = fopen("Blobs.dat","wb");
|
WP = fopen("WP.dat","wb");
|
||||||
fwrite(LocalBlobID.get(),4,Nx*Ny*Nz,BLOBS);
|
fwrite(WP.get(),4,Nx*Ny*Nz,WP);
|
||||||
fclose(BLOBS);
|
fclose(WP);
|
||||||
|
|
||||||
FILE *DISTANCE;
|
FILE *DISTANCE;
|
||||||
DISTANCE = fopen("SignDist.dat","wb");
|
DISTANCE = fopen("SignDist.dat","wb");
|
||||||
|
Loading…
Reference in New Issue
Block a user