whitespace fixup with dynamic casts

This commit is contained in:
Axel Kohlmeyer
2022-09-10 13:26:38 -04:00
parent 9b172d66f8
commit 67f6adebb7
175 changed files with 391 additions and 391 deletions

View File

@ -86,7 +86,7 @@ void Hyper::command(int narg, char **arg)
} else {
int ifix = modify->find_fix(id_fix);
if (ifix < 0) error->all(FLERR,"Could not find fix ID for hyper");
fix_hyper = dynamic_cast<FixHyper *>( modify->fix[ifix]);
fix_hyper = dynamic_cast<FixHyper *>(modify->fix[ifix]);
int dim;
int *hyperflag = (int *) fix_hyper->extract("hyperflag",dim);
if (hyperflag == nullptr || *hyperflag == 0)
@ -98,7 +98,7 @@ void Hyper::command(int narg, char **arg)
// create FixEventHyper class to store event and pre-quench states
fix_event = dynamic_cast<FixEventHyper *>( modify->add_fix("hyper_event all EVENT/HYPER"));
fix_event = dynamic_cast<FixEventHyper *>(modify->add_fix("hyper_event all EVENT/HYPER"));
// create Finish for timing output
@ -109,7 +109,7 @@ void Hyper::command(int narg, char **arg)
int icompute = modify->find_compute(id_compute);
if (icompute < 0) error->all(FLERR,"Could not find compute ID for hyper");
compute_event = dynamic_cast<ComputeEventDisplace *>( modify->compute[icompute]);
compute_event = dynamic_cast<ComputeEventDisplace *>(modify->compute[icompute]);
compute_event->reset_extra_compute_fix("hyper_event");
// reset reneighboring criteria since will perform minimizations