whitespace
This commit is contained in:
@ -144,7 +144,7 @@ void FixSpringSelf::init()
|
|||||||
else
|
else
|
||||||
error->all(FLERR, "Variable {} for fix spring/self is invalid style", kstr);
|
error->all(FLERR, "Variable {} for fix spring/self is invalid style", kstr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if ((kstyle == ATOM) && (atom->nmax > maxatom)) {
|
if ((kstyle == ATOM) && (atom->nmax > maxatom)) {
|
||||||
maxatom = atom->nmax;
|
maxatom = atom->nmax;
|
||||||
@ -203,7 +203,7 @@ void FixSpringSelf::post_force(int /*vflag*/)
|
|||||||
if ((kstyle == CONSTANT) || (kstyle == EQUAL)) {
|
if ((kstyle == CONSTANT) || (kstyle == EQUAL)) {
|
||||||
// update k if equal style variable
|
// update k if equal style variable
|
||||||
if (kstyle == EQUAL) k = input->variable->compute_equal(kvar);
|
if (kstyle == EQUAL) k = input->variable->compute_equal(kvar);
|
||||||
|
|
||||||
for (int i = 0; i < nlocal; i++)
|
for (int i = 0; i < nlocal; i++)
|
||||||
if (mask[i] & groupbit) {
|
if (mask[i] & groupbit) {
|
||||||
domain->unmap(x[i],image[i],unwrap);
|
domain->unmap(x[i],image[i],unwrap);
|
||||||
|
|||||||
Reference in New Issue
Block a user