ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/integrators/Integrator.cpp
(Generate patch)

Comparing trunk/src/integrators/Integrator.cpp (file contents):
Revision 324 by tim, Sun Feb 13 19:10:25 2005 UTC vs.
Revision 326 by tim, Sun Feb 13 20:05:42 2005 UTC

# Line 62 | Line 62 | Integrator::Integrator(SimInfo* info)
62      if (simParams->haveRunTime()) {
63          runTime = simParams->getRunTime();
64      } else {
65 <
65 >            sprintf(painCave.errMsg,
66 >                    "Integrator Error: runTime is not set\n");
67 >            painCave.isFatal = 1;
68 >            simError();
69      }
70      // set the status, sample, and thermal kick times
71      if (simParams->haveSampleTime()){

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines