whitespace fixup with dynamic casts
This commit is contained in:
@ -491,7 +491,7 @@ void FixBocs::init()
|
||||
{
|
||||
for (int i = 0; i < modify->nfix; i++)
|
||||
if (strcmp(modify->fix[i]->style,"deform") == 0) {
|
||||
int *dimflag = (dynamic_cast<FixDeform *>( modify->fix[i]))->dimflag;
|
||||
int *dimflag = (dynamic_cast<FixDeform *>(modify->fix[i]))->dimflag;
|
||||
if ((p_flag[0] && dimflag[0]) || (p_flag[1] && dimflag[1]) ||
|
||||
(p_flag[2] && dimflag[2]) || (p_flag[3] && dimflag[3]) ||
|
||||
(p_flag[4] && dimflag[4]) || (p_flag[5] && dimflag[5]))
|
||||
@ -591,8 +591,8 @@ void FixBocs::init()
|
||||
else kspace_flag = 0;
|
||||
|
||||
if (utils::strmatch(update->integrate_style,"^respa")) {
|
||||
nlevels_respa = (dynamic_cast<Respa *>( update->integrate))->nlevels;
|
||||
step_respa = (dynamic_cast<Respa *>( update->integrate))->step;
|
||||
nlevels_respa = (dynamic_cast<Respa *>(update->integrate))->nlevels;
|
||||
step_respa = (dynamic_cast<Respa *>(update->integrate))->step;
|
||||
dto = 0.5*step_respa[0];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user