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 |
51 |
|
|
52 |
|
namespace oopse { |
53 |
|
|
54 |
< |
/** |
55 |
< |
* @class BendType BendType.hpp "types/BendType.hpp" |
56 |
< |
*/ |
57 |
< |
class BendType { |
58 |
< |
public: |
59 |
< |
BendType(double theta) : theta0_(theta) {} |
60 |
< |
virtual ~BendType() {} |
54 |
> |
/** |
55 |
> |
* @class BendType BendType.hpp "types/BendType.hpp" |
56 |
> |
*/ |
57 |
> |
class BendType { |
58 |
> |
public: |
59 |
> |
BendType(double theta) : theta0_(theta) {} |
60 |
> |
virtual ~BendType() {} |
61 |
|
|
62 |
< |
virtual void calcForce(double theta, double& V, double& dVdTheta) = 0; |
62 |
> |
virtual void calcForce(double theta, double& V, double& dVdTheta) = 0; |
63 |
|
|
64 |
< |
double getTheta() { |
65 |
< |
return theta0_; |
66 |
< |
} |
64 |
> |
double getTheta() { |
65 |
> |
return theta0_; |
66 |
> |
} |
67 |
|
|
68 |
< |
void setTheta(double theta) { |
69 |
< |
theta0_ = theta; |
70 |
< |
} |
68 |
> |
void setTheta(double theta) { |
69 |
> |
theta0_ = theta; |
70 |
> |
} |
71 |
|
|
72 |
< |
protected: |
73 |
< |
double theta0_; |
74 |
< |
}; |
72 |
> |
protected: |
73 |
> |
double theta0_; |
74 |
> |
}; |
75 |
|
|
76 |
|
} //end namespace oopse |
77 |
|
#endif //TYPES_BENDTYPE_HPP |