From db72ba0739fd92f8d2418c87a656df123bd047f3 Mon Sep 17 00:00:00 2001 From: James E McClure Date: Sat, 11 Jul 2015 22:10:04 -0400 Subject: [PATCH] Working on component labeling --- tests/ComponentLabel.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/ComponentLabel.cpp b/tests/ComponentLabel.cpp index b356a83b..29ef17d4 100644 --- a/tests/ComponentLabel.cpp +++ b/tests/ComponentLabel.cpp @@ -513,11 +513,15 @@ int main(int argc, char **argv) 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; - BLOBS = fopen("Blobs.dat","wb"); - fwrite(LocalBlobID.get(),4,Nx*Ny*Nz,BLOBS); - fclose(BLOBS); + FILE *WP; + WP = fopen("WP.dat","wb"); + fwrite(WP.get(),4,Nx*Ny*Nz,WP); + fclose(WP); FILE *DISTANCE; DISTANCE = fopen("SignDist.dat","wb");