| 45 |
|
namespace oopse { |
| 46 |
|
Integrator::Integrator(SimInfo* info) |
| 47 |
|
: info_(info), forceMan_(NULL) , needPotential(false), needStress(false), needReset(false), velocitizer_(NULL), |
| 48 |
< |
needVelocityScaling(false), dumpWriter(NULL), statWriter(NULL), thermo(info) |
| 48 |
> |
needVelocityScaling(false), dumpWriter(NULL), statWriter(NULL), thermo(info), |
| 49 |
|
currentSnapshot_(info->getSnapshotManager()->getCurrentSnapshot()) { |
| 50 |
|
|
| 51 |
|
simParams = info->getSimParams(); |
| 86 |
|
thermalTime = simParams->getRunTime(); |
| 87 |
|
} |
| 88 |
|
|
| 89 |
< |
if (!simParams->getUseInitTime()) { |
| 89 |
> |
if (!simParams->getUseInitalTime()) { |
| 90 |
|
currentSnapshot_->setTime(0.0); |
| 91 |
|
} |
| 92 |
|
|