git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6452 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -608,7 +608,7 @@ void FixNH::init()
|
||||
if (force->kspace) kspace_flag = 1;
|
||||
else kspace_flag = 0;
|
||||
|
||||
if (strcmp(update->integrate_style,"respa") == 0) {
|
||||
if (strstr(update->integrate_style,"respa")) {
|
||||
nlevels_respa = ((Respa *) update->integrate)->nlevels;
|
||||
step_respa = ((Respa *) update->integrate)->step;
|
||||
dto = 0.5*step_respa[0];
|
||||
@ -1556,7 +1556,7 @@ void FixNH::reset_dt()
|
||||
|
||||
// If using respa, then remap is performed in innermost level
|
||||
|
||||
if (strcmp(update->integrate_style,"respa") == 0)
|
||||
if (strstr(update->integrate_style,"respa"))
|
||||
dto = 0.5*step_respa[0];
|
||||
|
||||
p_freq_max = 0.0;
|
||||
|
||||
Reference in New Issue
Block a user