| 36 |
|
* [1] Meineke, et al., J. Comp. Chem. 26, 252-271 (2005). |
| 37 |
|
* [2] Fennell & Gezelter, J. Chem. Phys. 124, 234104 (2006). |
| 38 |
|
* [3] Sun, Lin & Gezelter, J. Chem. Phys. 128, 24107 (2008). |
| 39 |
< |
* [4] Vardeman & Gezelter, in progress (2009). |
| 39 |
> |
* [4] Kuang & Gezelter, J. Chem. Phys. 133, 164101 (2010). |
| 40 |
> |
* [5] Vardeman, Stocker & Gezelter, J. Chem. Theory Comput. 7, 834 (2011). |
| 41 |
|
*/ |
| 42 |
|
|
| 43 |
|
#ifndef NONBONDED_EAM_HPP |
| 76 |
|
void setForceField(ForceField *ff) {forceField_ = ff;}; |
| 77 |
|
void addType(AtomType* atomType); |
| 78 |
|
void addExplicitInteraction(AtomType* atype1, AtomType* atype2, RealType dr, int nr, std::vector<RealType> phiAB); |
| 79 |
< |
void calcDensity(DensityData ddat); |
| 80 |
< |
void calcFunctional(FunctionalData fdat); |
| 81 |
< |
void calcForce(InteractionData idat); |
| 79 |
> |
void calcDensity(InteractionData &idat); |
| 80 |
> |
void calcFunctional(SelfData &sdat); |
| 81 |
> |
void calcForce(InteractionData &idat); |
| 82 |
|
virtual string getName() { return name_; } |
| 83 |
< |
virtual RealType getSuggestedCutoffRadius(AtomType* at1, AtomType* at2); |
| 83 |
> |
virtual RealType getSuggestedCutoffRadius(pair<AtomType*,AtomType*> atypes); |
| 84 |
> |
void setCutoffRadius( RealType rCut ); |
| 85 |
|
|
| 86 |
+ |
|
| 87 |
|
private: |
| 88 |
|
void initialize(); |
| 89 |
|
EAMParam getEAMParam(AtomType* atomType); |
| 94 |
|
CubicSpline* getPhi(AtomType* atomType1, AtomType* atomType2); |
| 95 |
|
|
| 96 |
|
bool initialized_; |
| 97 |
+ |
bool haveCutoffRadius_; |
| 98 |
|
std::map<int, AtomType*> EAMlist; |
| 99 |
|
std::map<AtomType*, EAMAtomData> EAMMap; |
| 100 |
|
std::map<std::pair<AtomType*, AtomType*>, EAMInteractionData> MixingMap; |