X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=tools%2Fphm2pj.cpp;h=313045a7262858637d1946447c3ae5866264da42;hp=4e4463da9bec97b6e9690b73ad55f57b155c9dbb;hb=36c820a392f2e9e023d373aaf46e8bfb6018bdd4;hpb=da7c413d9b557a45c17a5af5d13de0825507a22d diff --git a/tools/phm2pj.cpp b/tools/phm2pj.cpp index 4e4463d..313045a 100644 --- a/tools/phm2pj.cpp +++ b/tools/phm2pj.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: phm2pj.cpp,v 1.21 2001/01/07 22:19:44 kevin Exp $ +** $Id: phm2pj.cpp,v 1.22 2001/01/09 22:31:47 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 @@ -50,7 +50,7 @@ static struct option phm2pj_options[] = {0, 0, 0, 0} }; -static const char* g_szIdStr = "$Id: phm2pj.cpp,v 1.21 2001/01/07 22:19:44 kevin Exp $"; +static const char* g_szIdStr = "$Id: phm2pj.cpp,v 1.22 2001/01/09 22:31:47 kevin Exp $"; void @@ -324,26 +324,8 @@ phm2pj_main (int argc, char* const argv[]) #else Projections pjGlobal (scanner); -#if HAVE_SGP - SGPDriver* pSGPDriver = NULL; - SGP* pSGP = NULL; - if (opt_trace >= Trace::TRACE_PHANTOM) { - pSGPDriver = new SGPDriver ("phm2pj", 600, 600); - pSGP = new SGP (*pSGPDriver); - } - scanner.collectProjections (pjGlobal, phm, opt_trace, pSGP); - if (opt_trace >= Trace::TRACE_PHANTOM) { - std::cout << "Press enter to continue\n"; - cio_kb_getc(); - delete pSGP; pSGP = NULL; - delete pSGPDriver; pSGPDriver = NULL; - } - -#else scanner.collectProjections (pjGlobal, phm, opt_trace); #endif - -#endif #ifdef HAVE_MPI if (mpiWorld.getRank() == 0)