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 1417 by tim, Tue Jul 27 15:41:17 2004 UTC vs.
Revision 1421 by tim, Tue Jul 27 18:44:49 2004 UTC

# Line 35 | Line 35 | DumpWriter::DumpWriter( SimInfo* the_entry_plug ){
35  
36        sprintf( painCave.errMsg,
37                 "Could not open \"%s\" for dump output.\n",
38 <               entry_plug->sampleName);
38 >               entry_plug->sampleName.c_str());
39        painCave.isFatal = 1;
40        simError();
41      }
# Line 111 | Line 111 | void DumpWriter::writeDump(double currentTime){
111      if( !finalOut ){
112        sprintf( painCave.errMsg,
113                 "Could not open \"%s\" for final dump output.\n",
114 <               entry_plug->finalName );
114 >               entry_plug->finalName.c_str() );
115        painCave.isFatal = 1;
116        simError();
117      }
# Line 144 | Line 144 | void DumpWriter::writeFinal(double currentTime){
144      if( !finalOut ){
145        sprintf( painCave.errMsg,
146                 "Could not open \"%s\" for final dump output.\n",
147 <               entry_plug->finalName );
147 >               entry_plug->finalName.c_str() );
148        painCave.isFatal = 1;
149        simError();
150      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines