ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-1.0/libmdtools/DumpWriter.cpp
(Generate patch)

Comparing trunk/OOPSE-1.0/libmdtools/DumpWriter.cpp (file contents):
Revision 1334 by gezelter, Fri Jul 16 18:58:03 2004 UTC vs.
Revision 1417 by tim, Tue Jul 27 15:41:17 2004 UTC

# Line 29 | Line 29 | DumpWriter::DumpWriter( SimInfo* the_entry_plug ){
29    if(worldRank == 0 ){
30   #endif // is_mpi
31  
32 <    dumpFile.open(entry_plug->sampleName, ios::out | ios::trunc );
32 >    dumpFile.open(entry_plug->sampleName.c_str(), ios::out | ios::trunc );
33  
34      if( !dumpFile ){
35  
# Line 107 | Line 107 | void DumpWriter::writeDump(double currentTime){
107   #ifdef IS_MPI
108    if(worldRank == 0 ){
109   #endif    
110 <    finalOut.open( entry_plug->finalName, ios::out | ios::trunc );
110 >    finalOut.open( entry_plug->finalName.c_str(), ios::out | ios::trunc );
111      if( !finalOut ){
112        sprintf( painCave.errMsg,
113                 "Could not open \"%s\" for final dump output.\n",
# Line 139 | Line 139 | void DumpWriter::writeFinal(double currentTime){
139    if(worldRank == 0 ){
140   #endif // is_mpi
141  
142 <    finalOut.open( entry_plug->finalName, ios::out | ios::trunc );
142 >    finalOut.open( entry_plug->finalName.c_str(), ios::out | ios::trunc );
143  
144      if( !finalOut ){
145        sprintf( painCave.errMsg,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines