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

This commit is contained in:
sjplimp
2011-06-20 16:42:39 +00:00
parent eda731d3bd
commit f62b317d37
75 changed files with 111 additions and 111 deletions

View File

@ -336,7 +336,7 @@ void FixShakeCuda::init()
// could have changed locations in fix list since created
// set ptrs to rRESPA variables
if (strcmp(update->integrate_style,"respa") == 0) {
if (strstr(update->integrate_style,"respa")) {
for (i = 0; i < modify->nfix; i++)
if (strcmp(modify->fix[i]->style,"RESPA") == 0) ifix_respa = i;
nlevels_respa = ((Respa *) update->integrate)->nlevels;
@ -431,7 +431,7 @@ void FixShakeCuda::setup(int vflag)
// half timestep constraint on pre-step, full timestep thereafter
if (strcmp(update->integrate_style,"verlet") == 0) {
if (strstr(update->integrate_style,"verlet")) {
dtv = update->dt;
dtfsq = 0.5 * update->dt * update->dt * force->ftm2v;
post_force(vflag);
@ -2603,7 +2603,7 @@ void FixShakeCuda::unpack_comm(int n, int first, double *buf)
void FixShakeCuda::reset_dt()
{
if (strcmp(update->integrate_style,"verlet") == 0) {
if (strstr(update->integrate_style,"verlet")) {
dtv = update->dt;
dtfsq = update->dt * update->dt * force->ftm2v;
} else {