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

Comparing trunk/OOPSE-4/src/types/UreyBradleyBendType.hpp (file contents):
Revision 2204 by gezelter, Fri Apr 15 22:04:00 2005 UTC vs.
Revision 2759 by tim, Wed May 17 21:51:42 2006 UTC

# Line 61 | Line 61 | namespace oopse {
61  
62    public:
63  
64 <    UreyBradleyBendType(double theta0, double ktheta, double s0, double kub)
64 >    UreyBradleyBendType(RealType theta0, RealType ktheta, RealType s0, RealType kub)
65        : HarmonicBendType(theta0, ktheta), hbt_(HarmonicBondType(s0, kub)){
66        }
67  
68 <    double getUBForceConstant() {
68 >    RealType getUBForceConstant() {
69        return hbt_.getForceConstant();
70      }
71          
72 <    void setUBForceConstant(double kub) {
72 >    void setUBForceConstant(RealType kub) {
73        hbt_.setForceConstant(kub);
74      }
75  
76 <    double getUBLength() {
76 >    RealType getUBLength() {
77        return hbt_.getEquilibriumBondLength();
78      }
79  
80 <    void setUBLength(double s) {
80 >    void setUBLength(RealType s) {
81        hbt_.setEquilibriumBondLength(s);
82      }
83  
# Line 87 | Line 87 | namespace oopse {
87                  
88    private:
89          
90 <    double k_;
90 >    RealType k_;
91      HarmonicBondType hbt_;
92    };
93  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines