40 |
|
class Atom : public StuntDouble { |
41 |
|
public: |
42 |
|
Atom(AtomType* at); |
43 |
+ |
|
44 |
+ |
virtual std::string getType() {return atomType_->getName();} |
45 |
+ |
|
46 |
|
/** |
47 |
|
* Returns the inertia tensor of this stuntdouble |
48 |
|
* @return the inertia tensor of this stuntdouble |
77 |
|
bool isDipole() { |
78 |
|
return atomType_->isDipole(); |
79 |
|
} |
80 |
+ |
|
81 |
+ |
bool isQudrapole() { |
82 |
+ |
return atomType_->isQuadrupole(); |
83 |
+ |
} |
84 |
|
|
85 |
+ |
bool isMultipole() { |
86 |
+ |
return atomType_->isMultipole(); |
87 |
+ |
} |
88 |
+ |
|
89 |
|
bool isGayBerne() { |
90 |
|
return atomType_->isGayBerne(); |
91 |
|
} |
98 |
|
return atomType_->isShape(); |
99 |
|
} |
100 |
|
|
101 |
< |
private: |
101 |
> |
int getIdent() { |
102 |
> |
return atomType_->getIdent(); |
103 |
> |
} |
104 |
> |
|
105 |
> |
protected: |
106 |
|
AtomType* atomType_; |
92 |
– |
|
107 |
|
}; |
108 |
|
|
109 |
|
}//namepace oopse |