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

Comparing trunk/OOPSE-3.0/src/types/UreyBradleyBendType.hpp (file contents):
Revision 1930 by gezelter, Wed Jan 12 22:41:40 2005 UTC vs.
Revision 2204 by gezelter, Fri Apr 15 22:04:00 2005 UTC

# Line 1 | Line 1
1 < /*
1 > /*
2   * Copyright (c) 2005 The University of Notre Dame. All Rights Reserved.
3   *
4   * The University of Notre Dame grants you ("Licensee") a
# Line 52 | Line 52 | namespace oopse {
52   #include "types/HarmonicBendType.hpp"
53   #include "types/HarmonicBondType.hpp"
54   namespace oopse {
55 < /**
56 < * @class UreyBradleyBendType
57 < *
58 < * @todo documentation
59 < */
60 < class UreyBradleyBendType : public HarmonicBendType {
55 >  /**
56 >   * @class UreyBradleyBendType
57 >   *
58 >   * @todo documentation
59 >   */
60 >  class UreyBradleyBendType : public HarmonicBendType {
61  
62 <    public:
62 >  public:
63  
64 <        UreyBradleyBendType(double theta0, double ktheta, double s0, double kub)
65 <            : HarmonicBendType(theta0, ktheta), hbt_(HarmonicBondType(s0, kub)){
66 <        }
64 >    UreyBradleyBendType(double theta0, double ktheta, double s0, double kub)
65 >      : HarmonicBendType(theta0, ktheta), hbt_(HarmonicBondType(s0, kub)){
66 >      }
67  
68 <        double getUBForceConstant() {
69 <            return hbt_.getForceConstant();
70 <        }
68 >    double getUBForceConstant() {
69 >      return hbt_.getForceConstant();
70 >    }
71          
72 <        void setUBForceConstant(double kub) {
73 <            hbt_.setForceConstant(kub);
74 <        }
72 >    void setUBForceConstant(double kub) {
73 >      hbt_.setForceConstant(kub);
74 >    }
75  
76 <        double getUBLength() {
77 <            return hbt_.getEquilibriumBondLength();
78 <        }
76 >    double getUBLength() {
77 >      return hbt_.getEquilibriumBondLength();
78 >    }
79  
80 <        void setUBLength(double s) {
81 <            hbt_.setEquilibriumBondLength(s);
82 <        }
80 >    void setUBLength(double s) {
81 >      hbt_.setEquilibriumBondLength(s);
82 >    }
83  
84 <        HarmonicBondType* getHarmonicBondType() {
85 <            return &hbt_;
86 <        }
84 >    HarmonicBondType* getHarmonicBondType() {
85 >      return &hbt_;
86 >    }
87                  
88 <    private:
88 >  private:
89          
90 <        double k_;
91 <        HarmonicBondType hbt_;
92 < };
90 >    double k_;
91 >    HarmonicBondType hbt_;
92 >  };
93  
94   }//end namespace oopse
95   #endif //TYPES_UREYBRADLEYBENDTYPE_HPP

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines