use ev_init for fixes
This commit is contained in:
@ -141,8 +141,7 @@ void FixExternal::post_force(int vflag)
|
||||
bigint ntimestep = update->ntimestep;
|
||||
|
||||
int eflag = eflag_caller;
|
||||
if (eflag || vflag) ev_setup(eflag,vflag);
|
||||
else evflag = 0;
|
||||
ev_init(eflag,vflag);
|
||||
|
||||
// invoke the callback in driver program
|
||||
// it will fill fexternal with forces
|
||||
|
||||
Reference in New Issue
Block a user