projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r186: *** empty log message ***
[ctsim.git]
/
tools
/
pjrec.cpp
diff --git
a/tools/pjrec.cpp
b/tools/pjrec.cpp
index 157d6584c1cdd28e8c06d3041817f0ed8a1503c7..9fcb8903a6de987e3a130f7ae720eeb28883dc45 100644
(file)
--- a/
tools/pjrec.cpp
+++ b/
tools/pjrec.cpp
@@
-9,7
+9,7
@@
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: pjrec.cpp,v 1.1
5 2000/08/27 20:32:55
kevin Exp $
+** $Id: pjrec.cpp,v 1.1
6 2000/08/31 08:38:58
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
**
** 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
@@
-49,7
+49,7
@@
static struct option my_options[] =
{0, 0, 0, 0}
};
{0, 0, 0, 0}
};
-static const char* g_szIdStr = "$Id: pjrec.cpp,v 1.1
5 2000/08/27 20:32:55
kevin Exp $";
+static const char* g_szIdStr = "$Id: pjrec.cpp,v 1.1
6 2000/08/31 08:38:58
kevin Exp $";
void
pjrec_usage (const char *program)
void
pjrec_usage (const char *program)
@@
-260,8
+260,11
@@
pjrec_main (int argc, char * argv[])
#ifdef HAVE_MPI
if (mpiWorld.getRank() == 0) {
projGlobal.read (pszFilenameProj);
#ifdef HAVE_MPI
if (mpiWorld.getRank() == 0) {
projGlobal.read (pszFilenameProj);
- if (bOptVerbose)
- projGlobal.printScanInfo();
+ if (bOptVerbose) {
+ ostringstream os;
+ projGlobal.printScanInfo (os);
+ cout << os.str();
+ }
mpi_ndet = projGlobal.nDet();
mpi_nview = projGlobal.nView();
mpi_ndet = projGlobal.nDet();
mpi_nview = projGlobal.nView();
@@
-310,8
+313,11
@@
pjrec_main (int argc, char * argv[])
imLocal = new ImageFile (nx, ny);
#else
projGlobal.read (pszFilenameProj);
imLocal = new ImageFile (nx, ny);
#else
projGlobal.read (pszFilenameProj);
- if (bOptVerbose)
- projGlobal.printScanInfo();
+ if (bOptVerbose) {
+ ostringstream os;
+ projGlobal.printScanInfo(os);
+ cout << os.str();
+ }
imGlobal = new ImageFile (nx, ny);
#endif
imGlobal = new ImageFile (nx, ny);
#endif