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

Comparing trunk/OOPSE-4/src/types/FixedBondType.hpp (file contents):
Revision 3172 by tim, Wed May 17 21:51:42 2006 UTC vs.
Revision 3173 by gezelter, Fri Jul 13 18:10:52 2007 UTC

# Line 56 | Line 56 | namespace oopse {
56    
57    /**
58     * @class FixedBondType FixedBondType.hpp "types/FixedBondType.hpp"
59 <   * FixedBondType class is responsible for calculating the force and energy of the bond
59 >   * FixedBondType class is responsible for calculating the force and
60 >   * energy of the bond
61     */
62    class FixedBondType  : public BondType{
63    public:
64      FixedBondType(RealType r0) : BondType(r0) {}
65      virtual ~FixedBondType() {}
66 <
66 >    
67      virtual void calcForce(RealType r, RealType& V, RealType& dVdr) {
68        V = 0.0;
69        dVdr = 0.0;
70      }
71 <
71 >    
72    };    
73 <
74 <
73 >  
74 >  
75   } //end namespace oopse
76   #endif //TYPES_FIXEDBONDTYPE_HPP    

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines