Changes in src/molecule_dynamics.cpp [23b547:24a5e0]
- File:
-
- 1 edited
-
src/molecule_dynamics.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/molecule_dynamics.cpp
r23b547 r24a5e0 163 163 double molecule::ConstrainedPotential(struct EvaluatePotential &Params) 164 164 { 165 double tmp = 0.;166 double result = 0.; 165 double tmp, result=0; 166 167 167 // go through every atom 168 168 atom *Runner = NULL; … … 486 486 bool status = true; 487 487 int MaxSteps = configuration.MaxOuterStep; 488 MoleculeListClass *MoleculePerStep = new MoleculeListClass(World::get Pointer());488 MoleculeListClass *MoleculePerStep = new MoleculeListClass(World::get()); 489 489 // Get the Permutation Map by MinimiseConstrainedPotential 490 490 atom **PermutationMap = NULL; … … 506 506 Log() << Verbose(1) << "Filling intermediate " << MaxSteps << " steps with MDSteps of " << MDSteps << "." << endl; 507 507 for (int step = 0; step <= MaxSteps; step++) { 508 mol = World::get Instance().createMolecule();508 mol = World::get()->createMolecule(); 509 509 MoleculePerStep->insert(mol); 510 510 Walker = start;
Note:
See TracChangeset
for help on using the changeset viewer.
