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 |
54 |
|
|
55 |
|
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 |
60 |
< |
*/ |
61 |
< |
class FixedBondType : public BondType{ |
62 |
< |
public: |
63 |
< |
FixedBondType(double r0) : BondType(r0) {} |
64 |
< |
virtual ~FixedBondType() {} |
57 |
> |
/** |
58 |
> |
* @class FixedBondType FixedBondType.hpp "types/FixedBondType.hpp" |
59 |
> |
* FixedBondType class is responsible for calculating the force and energy of the bond |
60 |
> |
*/ |
61 |
> |
class FixedBondType : public BondType{ |
62 |
> |
public: |
63 |
> |
FixedBondType(double r0) : BondType(r0) {} |
64 |
> |
virtual ~FixedBondType() {} |
65 |
|
|
66 |
< |
virtual void calcForce(double r, double& V, double& dVdr) { |
67 |
< |
V = 0.0; |
68 |
< |
dVdr = 0.0; |
69 |
< |
} |
66 |
> |
virtual void calcForce(double r, double& V, double& dVdr) { |
67 |
> |
V = 0.0; |
68 |
> |
dVdr = 0.0; |
69 |
> |
} |
70 |
|
|
71 |
< |
}; |
71 |
> |
}; |
72 |
|
|
73 |
|
|
74 |
|
} //end namespace oopse |