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

Comparing trunk/src/constraints/ConstraintElem.hpp (file contents):
Revision 507 by gezelter, Fri Apr 15 22:04:00 2005 UTC vs.
Revision 963 by tim, Wed May 17 21:51:42 2006 UTC

# Line 94 | Line 94 | namespace oopse {
94      StuntDouble* getStuntDouble() { return sd_; }
95      
96      /**
97 <     * Returns the global index of this stuntdouble.
97 >     * Returns the global index of this stuntRealType.
98       * @return  the global index of this stuntdouble
99       */
100      int getGlobalIndex() {
# Line 102 | Line 102 | namespace oopse {
102      }
103      
104      /**
105 <     * Sets the global index of this stuntdouble.
105 >     * Sets the global index of this stuntRealType.
106       * @param new global index to be set
107       */
108      void setGlobalIndex(int index) {
# Line 454 | Line 454 | namespace oopse {
454      }
455      
456      /**
457 <     * Sets  the previous euler angles of this stuntdouble.
457 >     * Sets  the previous euler angles of this stuntRealType.
458       * @param euler  new euler angles
459       * @see #getEuler
460       * @note actual storage data is rotation matrix        
# Line 692 | Line 692 | namespace oopse {
692       * Returns the gradient of this stuntdouble
693       * @return the gradient of this stuntdouble
694       */
695 <    std::vector<double> getGrad() {
695 >    std::vector<RealType> getGrad() {
696        return sd_->getGrad();
697      }
698      
# Line 720 | Line 720 | namespace oopse {
720      }
721      
722      /** Returns the mass of this stuntdouble */
723 <    double getMass() {
723 >    RealType getMass() {
724        return sd_->getMass();
725      }
726      
# Line 728 | Line 728 | namespace oopse {
728       * Sets the mass of this stuntdoulbe
729       * @param mass the mass to be set
730       */        
731 <    void setMass(double mass) {
731 >    void setMass(RealType mass) {
732        sd_->setMass(mass);
733      }
734      
# Line 737 | Line 737 | namespace oopse {
737        return sd_->getType();
738      }
739      
740 <    /** Sets the name of this stuntdouble*/
740 >    /** Sets the name of this stuntRealType*/
741      void setType(const std::string& name) {
742        sd_->setType(name);
743      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines