Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/molecule_dynamics.cpp

    r24a5e0 rebe4d6  
    66 */
    77
    8 #include "World.hpp"
    98#include "atom.hpp"
    109#include "config.hpp"
     
    163162double molecule::ConstrainedPotential(struct EvaluatePotential &Params)
    164163{
    165   double tmp, result=0;
     164  double tmp, result;
    166165
    167166  // go through every atom
     
    486485  bool status = true;
    487486  int MaxSteps = configuration.MaxOuterStep;
    488   MoleculeListClass *MoleculePerStep = new MoleculeListClass(World::get());
     487  MoleculeListClass *MoleculePerStep = new MoleculeListClass();
    489488  // Get the Permutation Map by MinimiseConstrainedPotential
    490489  atom **PermutationMap = NULL;
     
    506505  Log() << Verbose(1) << "Filling intermediate " << MaxSteps << " steps with MDSteps of " << MDSteps << "." << endl;
    507506  for (int step = 0; step <= MaxSteps; step++) {
    508     mol = World::get()->createMolecule();
     507    mol = new molecule(elemente);
    509508    MoleculePerStep->insert(mol);
    510509    Walker = start;
Note: See TracChangeset for help on using the changeset viewer.