use get_(fix|compute)_by_id() instead of find_(fix|compute)()
This commit is contained in:
@ -322,8 +322,7 @@ void Respa::init()
|
||||
|
||||
// detect if fix omp is present and will clear force arrays
|
||||
|
||||
int ifix = modify->find_fix("package_omp");
|
||||
if (ifix >= 0) external_force_clear = 1;
|
||||
if (modify->get_fix_by_id("package_omp")) external_force_clear = 1;
|
||||
|
||||
// set flags for arrays to clear in force_clear()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user