ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/visitors/AtomData.hpp
(Generate patch)

Comparing trunk/src/visitors/AtomData.hpp (file contents):
Revision 1390 by gezelter, Wed Nov 25 20:02:06 2009 UTC vs.
Revision 1456 by gezelter, Fri Jun 25 17:40:24 2010 UTC

# Line 50 | Line 50 | namespace OpenMD {
50   namespace OpenMD {
51  
52    struct AtomInfo {
53 <    AtomInfo() : hasCharge(false), hasVector(false) {}
54 <
53 >    AtomInfo() : hasCharge(false), hasVector(false), hasVelocity(false),
54 >                 hasForce(false), pos(V3Zero), vec(V3Zero), vel(V3Zero),
55 >                 frc(V3Zero), charge(0.0) {}
56 >    
57      std::string atomTypeName;
58      Vector3d pos;
59 <    Vector3d dipole;  
59 >    Vector3d vec;  
60 >    Vector3d vel;  
61 >    Vector3d frc;  
62      RealType charge;
63      bool hasCharge;
64      bool hasVector;
65 +    bool hasVelocity;
66 +    bool hasForce;
67    };
68  
69    class AtomData : public GenericData{

Comparing trunk/src/visitors/AtomData.hpp (property svn:keywords):
Revision 1390 by gezelter, Wed Nov 25 20:02:06 2009 UTC vs.
Revision 1456 by gezelter, Fri Jun 25 17:40:24 2010 UTC

# Line 0 | Line 1
1 + Author Id Revision Date

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines