| 56 |  | class Atom : public StuntDouble { | 
| 57 |  | public: | 
| 58 |  | Atom(AtomType* at); | 
| 59 | < |  | 
| 59 | > |  | 
| 60 |  | virtual std::string getType() {return atomType_->getName();} | 
| 61 | < |  | 
| 61 | > |  | 
| 62 |  | /** | 
| 63 |  | * Returns the inertia tensor of this stuntdouble | 
| 64 |  | * @return the inertia tensor of this stuntdouble | 
| 65 |  | */ | 
| 66 |  | virtual Mat3x3d getI(); | 
| 67 | < |  | 
| 67 | > |  | 
| 68 |  | /** | 
| 69 |  | * Returns the gradient of this stuntdouble | 
| 70 |  | * @return the inertia tensor of this stuntdouble | 
| 71 |  | */ | 
| 72 |  | virtual std::vector<RealType> getGrad(); | 
| 73 | < |  | 
| 73 | > |  | 
| 74 |  | virtual void accept(BaseVisitor* v); | 
| 75 | < |  | 
| 75 | > |  | 
| 76 |  | /** | 
| 77 |  | * Returns the AtomType of this Atom. | 
| 78 |  | * @return the atom type of this atom | 
| 80 |  | AtomType* getAtomType() { | 
| 81 |  | return atomType_; | 
| 82 |  | } | 
| 83 | < |  | 
| 83 | > |  | 
| 84 |  | //forward  functions of AtomType class | 
| 85 | < | bool    isCharge()  { | 
| 85 | > | bool isCharge()  { | 
| 86 |  | return atomType_->isCharge(); | 
| 87 |  | } | 
| 88 | < |  | 
| 89 | < | bool    isDirectional() { | 
| 88 | > |  | 
| 89 | > | bool isDirectional() { | 
| 90 |  | return atomType_->isDirectional(); | 
| 91 |  | } | 
| 92 | < |  | 
| 93 | < | bool    isDipole()  { | 
| 92 | > |  | 
| 93 | > | bool isDipole()  { | 
| 94 |  | return atomType_->isDipole(); | 
| 95 |  | } | 
| 96 |  |  | 
| 97 | < | bool    isQudrapole()  { | 
| 97 | > | bool isQudrapole()  { | 
| 98 |  | return atomType_->isQuadrupole(); | 
| 99 |  | } | 
| 100 | < |  | 
| 101 | < | bool    isMultipole()  { | 
| 100 | > |  | 
| 101 | > | bool isMultipole()  { | 
| 102 |  | return atomType_->isMultipole(); | 
| 103 |  | } | 
| 104 | < |  | 
| 105 | < | bool    isGayBerne()  { | 
| 104 | > |  | 
| 105 | > | bool isGayBerne()  { | 
| 106 |  | return atomType_->isGayBerne(); | 
| 107 |  | } | 
| 108 |  |  | 
| 109 | < | bool    isSticky()  { | 
| 109 | > | bool isSticky()  { | 
| 110 |  | return atomType_->isSticky(); | 
| 111 |  | } | 
| 112 |  |  | 
| 113 | < | bool    isShape()  { | 
| 113 | > | bool isShape()  { | 
| 114 |  | return atomType_->isShape(); | 
| 115 |  | } | 
| 116 | < |  | 
| 116 | > |  | 
| 117 |  | int getIdent() { | 
| 118 |  | return atomType_->getIdent(); | 
| 119 |  | } | 
| 120 | < |  | 
| 120 | > |  | 
| 121 |  | protected: | 
| 122 |  | AtomType* atomType_; | 
| 123 |  | }; | 
| 124 | < |  | 
| 124 | > |  | 
| 125 |  | }//namepace oopse | 
| 126 |  |  | 
| 127 |  | #endif //PRIMITIVES_ATOM_HPP |