diff --git a/src/KOKKOS/pair_reaxc_kokkos.cpp b/src/KOKKOS/pair_reaxc_kokkos.cpp index d4dc976c4afbdca1b7f6e37d03bf0a1712717544..e9b6527725df1569db3af1a1c229628eec3d990c 100644 --- a/src/KOKKOS/pair_reaxc_kokkos.cpp +++ b/src/KOKKOS/pair_reaxc_kokkos.cpp @@ -2572,7 +2572,7 @@ void PairReaxCKokkos<DeviceType>::operator()(PairReaxComputeAngular<NEIGHFLAG,EV if (vlpex >= 0.0) { vlpadj = 0.0; dSBO2 = prod_SBO - 1.0; - } else{ + } else { vlpadj = nlp; dSBO2 = (prod_SBO - 1.0) * (1.0 - p_val8 * d_dDelta_lp[i]); } diff --git a/src/SRD/fix_srd.cpp b/src/SRD/fix_srd.cpp index 186f51e06a5ba44bb668157d9ae9a4a668d72511..d87d2b5e56bfc8a786b3a6d8d63e7a9d1e7eb88e 100644 --- a/src/SRD/fix_srd.cpp +++ b/src/SRD/fix_srd.cpp @@ -1348,7 +1348,7 @@ void FixSRD::collisions_single() atom->tag[i],atom->tag[j],update->ntimestep,ibounce+1); if (insideflag == INSIDE_ERROR) error->one(FLERR,str); error->warning(FLERR,str); - } else{ + } else { sprintf(str, "SRD particle " TAGINT_FORMAT " started " "inside wall %d on step " BIGINT_FORMAT " bounce %d", @@ -1507,7 +1507,7 @@ void FixSRD::collisions_multi() atom->tag[i],atom->tag[j],update->ntimestep,ibounce+1); if (insideflag == INSIDE_ERROR) error->one(FLERR,str); error->warning(FLERR,str); - } else{ + } else { sprintf(str, "SRD particle " TAGINT_FORMAT " started " "inside wall %d on step " BIGINT_FORMAT " bounce %d", diff --git a/src/USER-LB/fix_lb_fluid.cpp b/src/USER-LB/fix_lb_fluid.cpp index 7e1ea8953195946474f36032539f9d0711d8256b..222b0eea3c2b338bdd46a950692d2bb4f230bf91 100644 --- a/src/USER-LB/fix_lb_fluid.cpp +++ b/src/USER-LB/fix_lb_fluid.cpp @@ -1023,7 +1023,7 @@ void FixLbFluid::peskin_interpolation(int i) r=sqrt(rsq); if(rsq>1){ weightx=(5.0-2.0*r-sqrt(-7.0+12.0*r-4.0*rsq))/8.; - } else{ + } else { weightx=(3.0-2.0*r+sqrt(1.0+4.0*r-4.0*rsq))/8.; } } @@ -1035,7 +1035,7 @@ void FixLbFluid::peskin_interpolation(int i) r=sqrt(rsq); if(rsq>1){ weighty=(5.0-2.0*r-sqrt(-7.0+12.0*r-4.0*rsq))/8.; - } else{ + } else { weighty=(3.0-2.0*r+sqrt(1.0+4.0*r-4.0*rsq))/8.; } } @@ -1047,7 +1047,7 @@ void FixLbFluid::peskin_interpolation(int i) r=sqrt(rsq); if(rsq>1){ weightz=(5.0-2.0*r-sqrt(-7.0+12.0*r-4.0*rsq))/8.; - } else{ + } else { weightz=(3.0-2.0*r+sqrt(1.0+4.0*r-4.0*rsq))/8.; } } diff --git a/src/USER-LB/fix_lb_pc.cpp b/src/USER-LB/fix_lb_pc.cpp index 89c0bf59a778fbc09c25fcd842bf61ef8600209e..30b7059c740dc79766f3fb2a5a0f3b1c58aa6ef9 100644 --- a/src/USER-LB/fix_lb_pc.cpp +++ b/src/USER-LB/fix_lb_pc.cpp @@ -393,7 +393,7 @@ int FixLbPC::unpack_exchange(int nlocal, double *buf) r=sqrt(rsq); if(rsq>1){ weightx=(5.0-2.0*r-sqrt(-7.0+12.0*r-4.0*rsq))/8.; - } else{ + } else { weightx=(3.0-2.0*r+sqrt(1.0+4.0*r-4.0*rsq))/8.; } } @@ -405,7 +405,7 @@ int FixLbPC::unpack_exchange(int nlocal, double *buf) r=sqrt(rsq); if(rsq>1){ weighty=(5.0-2.0*r-sqrt(-7.0+12.0*r-4.0*rsq))/8.; - } else{ + } else { weighty=(3.0-2.0*r+sqrt(1.0+4.0*r-4.0*rsq))/8.; } } @@ -417,7 +417,7 @@ int FixLbPC::unpack_exchange(int nlocal, double *buf) r=sqrt(rsq); if(rsq>1){ weightz=(5.0-2.0*r-sqrt(-7.0+12.0*r-4.0*rsq))/8.; - } else{ + } else { weightz=(3.0-2.0*r+sqrt(1.0+4.0*r-4.0*rsq))/8.; } } diff --git a/src/USER-LB/fix_lb_rigid_pc_sphere.cpp b/src/USER-LB/fix_lb_rigid_pc_sphere.cpp index 0b3d75b984adf3dd5629d7bb5358de9218cf14e4..14dbeb0f1df0714e1b62c7f973bd7ea3b13cd4e9 100644 --- a/src/USER-LB/fix_lb_rigid_pc_sphere.cpp +++ b/src/USER-LB/fix_lb_rigid_pc_sphere.cpp @@ -1614,7 +1614,7 @@ double FixLbRigidPCSphere::compute_array(int i, int j) r=sqrt(rsq); if(rsq>1){ weightx=(5.0-2.0*r-sqrt(-7.0+12.0*r-4.0*rsq))/8.; - } else{ + } else { weightx=(3.0-2.0*r+sqrt(1.0+4.0*r-4.0*rsq))/8.; } } @@ -1626,7 +1626,7 @@ double FixLbRigidPCSphere::compute_array(int i, int j) r=sqrt(rsq); if(rsq>1){ weighty=(5.0-2.0*r-sqrt(-7.0+12.0*r-4.0*rsq))/8.; - } else{ + } else { weighty=(3.0-2.0*r+sqrt(1.0+4.0*r-4.0*rsq))/8.; } } @@ -1638,7 +1638,7 @@ double FixLbRigidPCSphere::compute_array(int i, int j) r=sqrt(rsq); if(rsq>1){ weightz=(5.0-2.0*r-sqrt(-7.0+12.0*r-4.0*rsq))/8.; - } else{ + } else { weightz=(3.0-2.0*r+sqrt(1.0+4.0*r-4.0*rsq))/8.; } } diff --git a/src/USER-REAXC/reaxc_ffield.cpp b/src/USER-REAXC/reaxc_ffield.cpp index ce032f4f3a8b35709e9cb5cfbc206c909b8cfe86..66acb6ea9a471baeca00b1f32f3463797ec3ff65 100644 --- a/src/USER-REAXC/reaxc_ffield.cpp +++ b/src/USER-REAXC/reaxc_ffield.cpp @@ -270,7 +270,7 @@ char Read_Force_Field( FILE *fp, reax_interaction *reax, "Keeping vdWaals-setting for earlier atoms.\n", reax->sbp[i].name ); errorflag = 0; - } else{ + } else { reax->gp.vdw_type = 3; } } diff --git a/src/USER-REAXC/reaxc_lookup.cpp b/src/USER-REAXC/reaxc_lookup.cpp index 918099a6319403b3a425d955582db3f797902c5d..0e71c662aa5d6209b90bc5331825fac013bb8fcd 100644 --- a/src/USER-REAXC/reaxc_lookup.cpp +++ b/src/USER-REAXC/reaxc_lookup.cpp @@ -264,7 +264,7 @@ int Init_Lookup_Tables( reax_system *system, control_params *control, Natural_Cubic_Spline( &h[1], &fCEclmb[1], &(LR[i][j].CEclmb[1]), control->tabulate+1, comm ); - } else{ + } else { LR[i][j].n = 0; } }