ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/primitives/DirectionalAtom.hpp
(Generate patch)

Comparing branches/development/src/primitives/DirectionalAtom.hpp (file contents):
Revision 1665 by gezelter, Tue Nov 22 20:38:56 2011 UTC vs.
Revision 1787 by gezelter, Wed Aug 29 18:13:11 2012 UTC

# Line 51 | Line 51
51   #define PRIMITIVES_DIRECTIONALATOM_HPP
52  
53   #include "primitives/Atom.hpp"
54 < #include "types/DirectionalAtomType.hpp"
54 > #include "types/AtomType.hpp"
55   namespace OpenMD{
56    class DirectionalAtom : public Atom {
57    public:
58 <    DirectionalAtom(DirectionalAtomType* dAtomType);
58 >    DirectionalAtom(AtomType* dAtomType);
59      /**
60       * Returns the inertia tensor of this stuntdouble
61       * @return the inertia tensor of this stuntdouble
# Line 95 | Line 95 | namespace OpenMD{
95      virtual std::vector<RealType> getGrad();
96      
97      virtual void accept(BaseVisitor* v);
98 <    
99 <  protected:
100 <    RotMat3x3d electroBodyFrame_; // body fixed standard eletrostatic frame
98 >  
99 >  private:
100 >    Mat3x3d I_;
101 >    Vector3d dipole_;    // body fixed dipole vector
102 >    Mat3x3d quadrupole_; // body fixed quadrupole tensor
103    };  
104   }//namespace OpenMD
105   #endif //PRIMITIVES_DIRECTIONALATOM_HPP

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines