Feb2021 GPU Package Update - GPU Package Files
This commit is contained in:
@ -63,7 +63,7 @@ class TersoffMod : public BaseThree<numtyp, acctyp> {
|
||||
bool shared_types;
|
||||
|
||||
/// Number of atom types
|
||||
int _lj_types;
|
||||
int _ntypes;
|
||||
|
||||
/// ts1.x = lam1, ts1.y = lam2, ts1.z = lam3, ts1.w = powermint
|
||||
UCL_D_Vec<numtyp4> ts1;
|
||||
@ -76,7 +76,7 @@ class TersoffMod : public BaseThree<numtyp, acctyp> {
|
||||
/// ts5.x = c5, ts5.y = h
|
||||
UCL_D_Vec<numtyp4> ts5;
|
||||
|
||||
UCL_D_Vec<numtyp> cutsq;
|
||||
UCL_D_Vec<numtyp> cutsq_pair;
|
||||
|
||||
UCL_D_Vec<int> elem2param;
|
||||
UCL_D_Vec<int> map;
|
||||
@ -87,13 +87,11 @@ class TersoffMod : public BaseThree<numtyp, acctyp> {
|
||||
/// zetaij.w = zetaij
|
||||
UCL_D_Vec<acctyp4> _zetaij;
|
||||
|
||||
UCL_Kernel k_zeta;
|
||||
UCL_Texture ts1_tex, ts2_tex, ts3_tex, ts4_tex, ts5_tex;
|
||||
numtyp _cutshortsq;
|
||||
UCL_Kernel k_zeta, k_zeta_noev, *k_zeta_selt;
|
||||
|
||||
private:
|
||||
bool _allocated;
|
||||
void loop(const bool _eflag, const bool _vflag, const int evatom);
|
||||
int loop(const int eflag, const int vflag, const int evatom, bool &success);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user