Changeset d50264 for molecuilder/src/molecule_dynamics.cpp
- Timestamp:
- Feb 26, 2010, 2:01:57 PM (16 years ago)
- Children:
- db6b872
- Parents:
- f467c6 (diff), dc5413 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
molecuilder/src/molecule_dynamics.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/molecule_dynamics.cpp
rf467c6 rd50264 6 6 */ 7 7 8 #include "World.hpp" 8 9 #include "atom.hpp" 9 10 #include "config.hpp" … … 162 163 double molecule::ConstrainedPotential(struct EvaluatePotential &Params) 163 164 { 164 double tmp , result;165 165 double tmp = 0.; 166 double result = 0.; 166 167 // go through every atom 167 168 atom *Runner = NULL; … … 485 486 bool status = true; 486 487 int MaxSteps = configuration.MaxOuterStep; 487 MoleculeListClass *MoleculePerStep = new MoleculeListClass( );488 MoleculeListClass *MoleculePerStep = new MoleculeListClass(World::get()); 488 489 // Get the Permutation Map by MinimiseConstrainedPotential 489 490 atom **PermutationMap = NULL; … … 505 506 Log() << Verbose(1) << "Filling intermediate " << MaxSteps << " steps with MDSteps of " << MDSteps << "." << endl; 506 507 for (int step = 0; step <= MaxSteps; step++) { 507 mol = new molecule(elemente);508 mol = World::get()->createMolecule(); 508 509 MoleculePerStep->insert(mol); 509 510 Walker = start;
Note:
See TracChangeset
for help on using the changeset viewer.
