more code formatting consistency changes for loops and conditionals

This commit is contained in:
Axel Kohlmeyer
2020-12-30 09:27:47 -05:00
parent 28de7e351a
commit 51a20175c9
171 changed files with 744 additions and 747 deletions

View File

@ -2758,7 +2758,7 @@ void lammps_gather(void *handle, char *name, int type, int count, void *data)
}
// property / atom
if ( (vptr == nullptr) && ((strstr(name,"d_") == name)
|| (strstr(name,"i_") == name)) ) {
|| (strstr(name,"i_") == name))) {
fcid = lmp->atom->find_custom(&name[2], ltype);
if (fcid < 0) {
if (lmp->comm->me == 0)
@ -4269,7 +4269,7 @@ included in the LAMMPS library in use.
*/
int lammps_config_package_count() {
int i = 0;
while(LAMMPS::installed_packages[i] != nullptr) {
while (LAMMPS::installed_packages[i] != nullptr) {
++i;
}
return i;