Ignore:
Timestamp:
Oct 7, 2009, 1:11:28 PM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
0cd3b2
Parents:
8ffe32
git-author:
Frederik Heber <heber@…> (10/07/09 12:14:15)
git-committer:
Frederik Heber <heber@…> (10/07/09 13:11:28)
Message:

In molecule::OutputTrajectories() ActOnAllAtoms() with new function atom::OutputTrajectory() is used.

For this to work, I had to change the Trajectory struct that was so far included in molecule.hpp to be incorporated directly into the class atom.
NOTE: This incorporation is incomplete and a ticket (#34) has been filed to remind of this issue.
However, the trajectory is better suited to reside in atom anyway and was probably just put in molecule due to memory prejudices against STL vector<>.
Functions in molecule.cpp, config.cpp, molecule_geometry.cpp and molecule_dynamics.cpp were adapted (changed from Trajectories[atom *] to atom *->Trajectory).
And the atom pointer in the Trajectory structure was removed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/boundary.cpp

    r8ffe32 r567b7f  
    10291029
    10301030  // look whether all points are inside of the convex envelope, otherwise add them via degenerated triangles
    1031   mol->TesselStruct->InsertStraddlingPoints(out, mol, LCList);
     1031  //mol->TesselStruct->InsertStraddlingPoints(out, mol, LCList);
    10321032//  mol->GoToFirst();
    10331033//  class TesselPoint *Runner = NULL;
Note: See TracChangeset for help on using the changeset viewer.