67 |
|
return atp.is_LennardJones; |
68 |
|
} |
69 |
|
|
70 |
– |
void setElectrostatic() { |
71 |
– |
atp.is_Electrostatic = 1; |
72 |
– |
} |
70 |
|
|
71 |
|
bool isElectrostatic() { |
72 |
< |
return atp.is_Electrostatic; |
72 |
> |
return isCharge() || isMultipole(); |
73 |
|
} |
74 |
|
|
75 |
|
void setEAM() { |
82 |
|
|
83 |
|
void setCharge() { |
84 |
|
atp.is_Charge = 1; |
88 |
– |
atp.is_Electrostatic = 1; |
85 |
|
} |
86 |
|
|
87 |
|
bool isCharge() { |
96 |
|
return atp.is_Dipole; |
97 |
|
} |
98 |
|
|
99 |
+ |
bool isQuadrupole() { |
100 |
+ |
return atp.is_Quadrupole; |
101 |
+ |
} |
102 |
+ |
|
103 |
+ |
bool isMultipole() { |
104 |
+ |
return isDipole() || isQuadrupole(); |
105 |
+ |
} |
106 |
+ |
|
107 |
|
bool isGayBerne() { |
108 |
|
return atp.is_GayBerne; |
109 |
|
} |