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

Comparing branches/new_design/OOPSE-3.0/src/types/BondType.hpp (file contents):
Revision 1747 by tim, Wed Nov 17 06:37:56 2004 UTC vs.
Revision 1748 by tim, Wed Nov 17 21:47:42 2004 UTC

# Line 41 | Line 41 | class BondType {
41   */
42   class BondType {
43      public:
44 <        BondType(dobule myR0) : r0(myR0) {}
44 >        BondType(double myR0) : r0(myR0) {}
45          virtual ~BondType() {}
46  
47          virtual void calcForce(double r, double& V, double& dVdr) = 0;
48          double getEquilibriumBondLength() {return r0;}
49 <        void setEquilibriumBondLength(double myR0) { r0 = r; }
49 >        void setEquilibriumBondLength(double myR0) { r0 = myR0; }
50  
51      protected:        
52          double r0; /**equilibrium bond length< */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines