55 |
|
#include "types/DirectionalAtomType.hpp" |
56 |
|
#include "utils/simError.h" |
57 |
|
|
58 |
< |
namespace oopse { |
59 |
< |
|
60 |
< |
|
58 |
> |
namespace oopse { |
59 |
|
class ShapeAtomType : public DirectionalAtomType { |
60 |
|
|
61 |
|
public: |
62 |
|
|
63 |
|
ShapeAtomType() : DirectionalAtomType() { atp.is_Shape = 1; } |
64 |
|
~ShapeAtomType(); |
65 |
< |
|
65 |
> |
|
66 |
|
std::vector<RealSphericalHarmonic*> getContactFuncs(void) {return contactFuncs;} |
67 |
|
std::vector<RealSphericalHarmonic*> getRangeFuncs(void) {return rangeFuncs;} |
68 |
|
std::vector<RealSphericalHarmonic*> getStrengthFuncs(void) {return strengthFuncs;} |
82 |
|
* @param costheta |
83 |
|
* @param phi |
84 |
|
*/ |
85 |
< |
double getContactValueAt(double costheta, double phi); |
85 |
> |
RealType getContactValueAt(RealType costheta, RealType phi); |
86 |
|
|
87 |
|
/** |
88 |
|
* Gets the value of the range function at a particular orientation |
89 |
|
* @param costheta |
90 |
|
* @param phi |
91 |
|
*/ |
92 |
< |
double getRangeValueAt(double costheta, double phi); |
92 |
> |
RealType getRangeValueAt(RealType costheta, RealType phi); |
93 |
|
|
94 |
|
/** |
95 |
|
* Gets the value of the strength function at a particular orientation |
96 |
|
* @param costheta |
97 |
|
* @param phi |
98 |
|
*/ |
99 |
< |
double getStrengthValueAt(double costheta, double phi); |
99 |
> |
RealType getStrengthValueAt(RealType costheta, RealType phi); |
100 |
|
|
101 |
|
virtual void complete(); |
102 |
|
|
105 |
|
std::vector<RealSphericalHarmonic*> contactFuncs; // The contact functions |
106 |
|
std::vector<RealSphericalHarmonic*> rangeFuncs; // The range functions |
107 |
|
std::vector<RealSphericalHarmonic*> strengthFuncs; // The strength functions |
110 |
– |
|
108 |
|
}; |
109 |
|
} |
110 |
|
#endif |