Feb2021 GPU Package Update - GPU Package Files

This commit is contained in:
Michael Brown
2021-02-15 08:20:50 -08:00
parent 16004e8f45
commit e7e2d2323b
345 changed files with 13424 additions and 7708 deletions

View File

@ -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);
};
}