forked from lijiext/lammps
Fixing logic error with suffix styles
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14516 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
f86a9f4283
commit
def0d4ed80
|
@ -90,7 +90,7 @@ void FixLbViscous::init()
|
||||||
|
|
||||||
void FixLbViscous::setup(int vflag)
|
void FixLbViscous::setup(int vflag)
|
||||||
{
|
{
|
||||||
if (strcmp(update->integrate_style,"verlet") == 0)
|
if (strstr(update->integrate_style,"verlet") != NULL)
|
||||||
post_force(vflag);
|
post_force(vflag);
|
||||||
else {
|
else {
|
||||||
((Respa *) update->integrate)->copy_flevel_f(nlevels_respa-1);
|
((Respa *) update->integrate)->copy_flevel_f(nlevels_respa-1);
|
||||||
|
|
Loading…
Reference in New Issue