ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/md_code/StatWriter.cpp
(Generate patch)

Comparing trunk/mdtools/md_code/StatWriter.cpp (file contents):
Revision 184 by mmeineke, Thu Nov 21 20:33:06 2002 UTC vs.
Revision 189 by mmeineke, Tue Nov 26 21:04:43 2002 UTC

# Line 9 | Line 9 | StatWriter::StatWriter( SimInfo* the_entry_plug ){
9   StatWriter::StatWriter( SimInfo* the_entry_plug ){
10  
11   #ifdef IS_MPI
12 <  if(worldRank == TESTWRITE ){
12 >  if(worldRank == 0 ){
13   #endif // is_mpi
14  
15      entry_plug = the_entry_plug;
# Line 42 | Line 42 | StatWriter::~StatWriter( ){
42   StatWriter::~StatWriter( ){
43  
44   #ifdef IS_MPI
45 <  if(worldRank == TESTWRITE ){
45 >  if(worldRank == 0 ){
46   #endif // is_mpi
47  
48      outFile.close();
# Line 56 | Line 56 | void StatWriter::writeStat( double currentTime ){
56   void StatWriter::writeStat( double currentTime ){
57  
58   #ifdef IS_MPI
59 <  if(worldRank == TESTWRITE ){
59 >  if(worldRank == 0 ){
60   #endif // is_mpi
61  
62      outFile.precision(8);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines