| 105 |
|
|
| 106 |
|
currSample = sampleTime + currentSnapshot_->getTime(); |
| 107 |
|
currStatus = statusTime + currentSnapshot_->getTime();; |
| 108 |
< |
currThermal = thermalTime + + currentSnapshot_->getTime(); |
| 108 |
> |
currThermal = thermalTime + currentSnapshot_->getTime(); |
| 109 |
> |
if (needReset) { |
| 110 |
> |
currReset = resetTime + currentSnapshot_->getTime(); |
| 111 |
> |
} |
| 112 |
|
needPotential = false; |
| 113 |
|
needStress = false; |
| 114 |
|
|
| 178 |
|
needStress = false; |
| 179 |
|
currStatus += statusTime; |
| 180 |
|
} |
| 181 |
< |
|
| 181 |
> |
|
| 182 |
> |
if (needReset && currentSnapshot_->getTime() >= currReset) { |
| 183 |
> |
resetIntegrator(); |
| 184 |
> |
currReset += resetTime; |
| 185 |
> |
} |
| 186 |
|
|
| 187 |
|
} |
| 188 |
|
|