93 void setSimulatedAtomTypes(AtomTypeSet& simtypes);
94 void setSimInfo(
SimInfo* info) { info_ = info; };
97 virtual void calcSelfCorrection(
SelfData& sdat);
98 virtual string getName() {
return name_; }
99 virtual RealType getSuggestedCutoffRadius(
100 pair<AtomType*, AtomType*> atypes);
101 void setCutoffRadius(RealType rCut);
103 void setElectrostaticScreeningMethod(ElectrostaticScreeningMethod sm);
104 void setDampingAlpha(RealType alpha);
105 void setReactionFieldDielectric(RealType dielectric);
106 void calcSurfaceTerm(
bool slabGeometry,
int axis, RealType& pot);
107 void ReciprocalSpaceSum(RealType& pot);
110 RealType getFieldFunction(RealType r);
113 void getSitePotentials(
Atom* a1,
Atom* a2,
bool excluded, RealType& spot1,
120 bool haveCutoffRadius_;
121 bool haveDampingAlpha_;
122 bool haveDielectric_;
123 bool haveElectroSplines_;
136 vector<ElectrostaticAtomData>
138 vector<vector<CubicSplinePtr>>
144 AtomTypeSet simTypes_;
145 RealType cutoffRadius_;
152 RealType v01, v11, v21, v22, v31, v32, v41, v42, v43;
153 RealType dv01, dv11, dv21, dv22, dv31, dv32, dv41, dv42, dv43;
154 RealType v11or, v22or, v31or, v32or, v42or, v43or;
156 RealType angstromToM_;
160 ElectrostaticScreeningMethod screeningMethod_;
161 map<string, ElectrostaticSummationMethod> summationMap_;
162 map<string, ElectrostaticScreeningMethod> screeningMap_;
163 RealType dampingAlpha_;
164 RealType dielectric_;
189 RealType rdQar, rdQbr, trQa, trQb;
190 Vector3d Qar, Qbr, rQa, rQb, rxQar, rxQbr;
193 RealType DadDb, trQaQb, DadQbr, DbdQar;
195 Vector3d DaxDb, DadQb, DbdQa, DaxQbr, DbxQar;
196 Vector3d rQaQb, QaQbr, QaxQb, rQaxQbr;
211 RealType indirect_Pot;
217 RealType excluded_Pot;
219 RealType rfContrib, coulInt;
229 bool a_is_Quadrupole;
230 bool a_is_Fluctuating;
231 bool a_uses_SlaterIntra;
235 bool b_is_Quadrupole;
236 bool b_is_Fluctuating;
237 bool b_uses_SlaterIntra;