Attempted to resolve issues with switching from acctyp4 to acctyp3 in tep, fieldp since the changes in PR #3675, noting some changes with Intel OCL PR #3663
This commit is contained in:
@ -420,6 +420,11 @@ void BaseAmoebaT::compute_udirect2b(int *host_amtype, int *host_amgroup, double
|
||||
cast_extra_data(host_amtype, host_amgroup, host_rpole, host_uind, host_uinp, host_pval);
|
||||
atom->add_extra_data();
|
||||
|
||||
if (_max_tep_size>_max_fieldp_size) {
|
||||
_max_fieldp_size = _max_tep_size;
|
||||
_fieldp.resize(_max_fieldp_size*6);
|
||||
}
|
||||
|
||||
*fieldp_ptr=_fieldp.host.begin();
|
||||
|
||||
// specify the correct cutoff and alpha values
|
||||
|
||||
Reference in New Issue
Block a user