remove trailing whitespace

This commit is contained in:
Axel Kohlmeyer
2018-03-16 12:37:27 -04:00
parent ee862d8bf5
commit 59dbb49cf9
204 changed files with 1543 additions and 1543 deletions

View File

@ -389,7 +389,7 @@ void FixAdapt::init()
} else if (ad->which == BOND){
ad->bond = NULL;
anybond = 1;
int n = strlen(ad->bstyle) + 1;
char *bstyle = new char[n];
strcpy(bstyle,ad->bstyle);
@ -408,7 +408,7 @@ void FixAdapt::init()
error->all(FLERR,"Fix adapt bond style does not exist");
void *ptr = ad->bond->extract(ad->bparam,ad->bdim);
if (ptr == NULL)
error->all(FLERR,"Fix adapt bond style param not supported");
@ -421,7 +421,7 @@ void FixAdapt::init()
error->all(FLERR,"Fix adapt does not support bond_style hybrid");
delete [] bstyle;
} else if (ad->which == KSPACE) {
if (force->kspace == NULL)
error->all(FLERR,"Fix adapt kspace style does not exist");
@ -449,12 +449,12 @@ void FixAdapt::init()
ad->array_orig[i][j] = ad->array[i][j];
} else if (ad->which == PAIR && ad->pdim == 0){
ad->scalar_orig = *ad->scalar;
} else if (ad->which == BOND && ad->bdim == 1){
for (i = ad->ilo; i <= ad->ihi; ++i )
ad->vector_orig[i] = ad->vector[i];
}
}
// fixes that store initial per-atom values
@ -547,7 +547,7 @@ void FixAdapt::change_settings()
}
// set bond type array values:
} else if (ad->which == BOND) {
if (ad->bdim == 1){
if (scaleflag)
@ -557,7 +557,7 @@ void FixAdapt::change_settings()
for (i = ad->ilo; i <= ad->ihi; ++i )
ad->vector[i] = value;
}
// set kspace scale factor
} else if (ad->which == KSPACE) {
@ -657,7 +657,7 @@ void FixAdapt::restore_settings()
for (int i = ad->ilo; i <= ad->ihi; i++)
ad->vector[i] = ad->vector_orig[i];
}
} else if (ad->which == KSPACE) {
*kspace_scale = 1.0;