Commit 7177c541 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

consistent source format: replace '}else{' with '} else {'

parent 3a735057
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -234,7 +234,8 @@ void PairMorseSoft::settings(int narg, char **arg)

double PairMorseSoft::init_one(int i, int j)
{
  if (setflag[i][j] == 0) error->all(FLERR,"All pair coeffs are not set");
  if (setflag[i][j] == 0)
    error->all(FLERR,"All pair coeffs are not set");

  morse1[i][j] = 2.0*d0[i][j]*alpha[i][j];

@@ -259,7 +260,6 @@ double PairMorseSoft::init_one(int i, int j)
    if (l >= shift_range){
      s1  = (l - 1.0) / (shift_range - 1.0);
      offset[i][j] = V0 + B*dexp3 * s1;

    } else {
      llf = MathSpecial::powint( l / shift_range, nlambda );
      offset[i][j] = V0 + B*dexp3;
+8 −8

File changed.

Contains only whitespace changes.

+4 −4

File changed.

Contains only whitespace changes.

+3 −3

File changed.

Contains only whitespace changes.

+4 −4

File changed.

Contains only whitespace changes.

+4 −4

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+5 −5

File changed.

Contains only whitespace changes.

+2 −2

File changed.

Contains only whitespace changes.

+3 −3

File changed.

Contains only whitespace changes.

+16 −16

File changed.

Contains only whitespace changes.

+2 −2

File changed.

Contains only whitespace changes.

Loading