X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fphm2if.cpp;fp=src%2Fphm2if.cpp;h=63d5a49b7a38ce2987cddd707fe0f78aab929c9f;hb=4b16507e92bb80b09575b28bed66810e33d2681f;hp=66ceb470c4a3af84386d79e66f9069af0d51627a;hpb=2451ac413848718a1dd666ce6f6464e974680f47;p=ctsim.git diff --git a/src/phm2if.cpp b/src/phm2if.cpp index 66ceb47..63d5a49 100644 --- a/src/phm2if.cpp +++ b/src/phm2if.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: phm2if.cpp,v 1.6 2000/06/09 01:35:33 kevin Exp $ +** $Id: phm2if.cpp,v 1.7 2000/06/09 11:03:08 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -317,12 +317,12 @@ phm2sdf_main (int argc, char* argv[]) if (mpiWorld.getRank() == 0) { im_global = new ImageFile (opt_outfile, opt_nx, opt_ny); - im_global->adf.fileCreate(); + im_global->fileCreate(); } im_local = new ImageFile (opt_nx, opt_ny); #else im_global = new ImageFile (opt_outfile, opt_nx, opt_ny); - im_global->adf.fileCreate (); + im_global->fileCreate (); #endif if (opt_phmnum >= 0) @@ -395,10 +395,10 @@ phm2sdf_main (int argc, char* argv[]) if (mpiWorld.getRank() == 0) #endif { - im_global->adf.arrayDataWrite (); + im_global->arrayDataWrite (); calctime = time_end - time_start; - im_global->adf.labelAdd (Array2dFileLabel::L_HISTORY, opt_desc, calctime); - im_global->adf.fileClose (); + im_global->labelAdd (Array2dFileLabel::L_HISTORY, opt_desc, calctime); + im_global->fileClose (); if (opt_verbose) fprintf (stdout, "Time to compile image = %.2f sec\n\n", calctime);