whitespace fixup with dynamic casts
This commit is contained in:
@ -294,7 +294,7 @@ void FixGPU::init()
|
||||
// rRESPA support
|
||||
|
||||
if (utils::strmatch(update->integrate_style,"^respa"))
|
||||
_nlevels_respa = (dynamic_cast<Respa *>( update->integrate))->nlevels;
|
||||
_nlevels_respa = (dynamic_cast<Respa *>(update->integrate))->nlevels;
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
@ -308,9 +308,9 @@ void FixGPU::setup(int vflag)
|
||||
if (utils::strmatch(update->integrate_style,"^verlet")) post_force(vflag);
|
||||
else {
|
||||
// In setup only, all forces calculated on GPU are put in the outer level
|
||||
(dynamic_cast<Respa *>( update->integrate))->copy_flevel_f(_nlevels_respa-1);
|
||||
(dynamic_cast<Respa *>(update->integrate))->copy_flevel_f(_nlevels_respa-1);
|
||||
post_force(vflag);
|
||||
(dynamic_cast<Respa *>( update->integrate))->copy_f_flevel(_nlevels_respa-1);
|
||||
(dynamic_cast<Respa *>(update->integrate))->copy_f_flevel(_nlevels_respa-1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user