removed a bug in fix_neb.cpp which prevented the freeend to work properly, plus added an example for the neb freeend
This commit is contained in:
@ -461,7 +461,7 @@ void FixNEB::min_post_force(int vflag)
|
||||
if (ireplica < nreplica-1)
|
||||
dotgrad = dotgrad /(gradlen*gradnextlen);
|
||||
|
||||
dot = 0.0;
|
||||
|
||||
if (FreeEndIni && ireplica == 0) {
|
||||
if (tlen > 0.0) {
|
||||
double dotall;
|
||||
|
||||
Reference in New Issue
Block a user