ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-3.0/src/types/UreyBradleyBendType.hpp
(Generate patch)

Comparing branches/new_design/OOPSE-3.0/src/types/UreyBradleyBendType.hpp (file contents):
Revision 1748 by tim, Wed Nov 17 21:47:42 2004 UTC vs.
Revision 1774 by tim, Tue Nov 23 23:12:23 2004 UTC

# Line 30 | Line 30
30   * @version 1.0
31   */
32  
33 < #ifndef TYPES_UreyBradleyBendType_HPP
33 > #ifndef TYPES_UREYBRADLEYBENDTYPE_HPP
34   #define TYPES_UREYBRADLEYBENDTYPE_HPP
35  
36   #include "types/BendType.hpp"
# Line 45 | Line 45 | class UreyBradleyBendType : public HarmonicBendType {
45  
46      public:
47  
48 <        UreyBradleyBendType(double theta0, double ktheta, double s0, double ksu)
49 <            : HarmonicBendType(theta0, ktheta), hbt_(HarmonicBondType(s0, ksu)){
48 >        UreyBradleyBendType(double theta0, double ktheta, double s0, double kub)
49 >            : HarmonicBendType(theta0, ktheta), hbt_(HarmonicBondType(s0, kub)){
50          }
51  
52          double getUBForceConstant() {
53              return hbt_.getForceConstant();
54          }
55          
56 <        void setUBForceConstant(double ksu) {
57 <            hbt_.setForceConstant(ksu);
56 >        void setUBForceConstant(double kub) {
57 >            hbt_.setForceConstant(kub);
58          }
59  
60          void getUBLength() {
# Line 76 | Line 76 | class UreyBradleyBendType : public HarmonicBendType {
76   };
77  
78   }//end namespace oopse
79 < #endif //TYPES_HARMONICBENDTYPE_HPP
79 > #endif //TYPES_UREYBRADLEYBENDTYPE_HPP
80  
81  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines