git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6572 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2011-08-01 14:06:52 +00:00
parent 307b2634b3
commit ba76216025
32 changed files with 75 additions and 54 deletions

View File

@ -65,6 +65,7 @@ FixNHCuda::FixNHCuda(LAMMPS *lmp, int narg, char **arg) : Fix(lmp, narg, arg)
extscalar = 1;
extvector = 0;
triggerneighsq = -1;
// default values
pcouple = NONE;
@ -547,7 +548,7 @@ void FixNHCuda::init()
if (force->kspace) kspace_flag = 1;
else kspace_flag = 0;
if (strstr(update->integrate_style,"respa")) {
if (strcmp(update->integrate_style,"respa") == 0) {
nlevels_respa = ((Respa *) update->integrate)->nlevels;
step_respa = ((Respa *) update->integrate)->step;
dto = 0.5*step_respa[0];
@ -1550,7 +1551,7 @@ void FixNHCuda::reset_dt()
// If using respa, then remap is performed in innermost level
if (strstr(update->integrate_style,"respa"))
if (strcmp(update->integrate_style,"respa") == 0)
dto = 0.5*step_respa[0];
p_freq_max = 0.0;