829 |
|
int convgStatus; |
830 |
|
int stepStatus; |
831 |
|
int maxIter; |
832 |
< |
int writeFrq; |
832 |
> |
int writeFreq; |
833 |
|
int nextWriteIter; |
834 |
|
Snapshot* curSnapshot =info->getSnapshotManager()->getCurrentSnapshot(); |
835 |
|
DumpWriter dumpWriter(info); |
840 |
|
|
841 |
|
init(); |
842 |
|
|
843 |
< |
writeFrq = paramSet->getWriteFrq(); |
843 |
> |
writeFreq = paramSet->getWriteFreq(); |
844 |
|
|
845 |
< |
nextWriteIter = writeFrq; |
845 |
> |
nextWriteIter = writeFreq; |
846 |
|
|
847 |
|
maxIter = paramSet->getMaxIteration(); |
848 |
|
|
870 |
|
curSnapshot->increaseTime(1); |
871 |
|
|
872 |
|
if (curIter == nextWriteIter) { |
873 |
< |
nextWriteIter += writeFrq; |
873 |
> |
nextWriteIter += writeFreq; |
874 |
|
calcF(); |
875 |
|
dumpWriter.writeDumpAndEor(); |
876 |
|
statWriter.writeStat(curSnapshot->statData); |
902 |
|
|
903 |
|
|
904 |
|
RealType Minimizer::calcPotential() { |
905 |
< |
forceMan->calcForces(true, false); |
905 |
> |
forceMan->calcForces(); |
906 |
|
|
907 |
|
Snapshot* curSnapshot = info->getSnapshotManager()->getCurrentSnapshot(); |
908 |
|
RealType potential_local = curSnapshot->statData[Stats::LONG_RANGE_POTENTIAL] + |