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