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 |