From 152112d85a69a7fb4cd5059e04d07b000fed7324 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Mon, 30 Jan 2012 22:21:39 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7606 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/fix_efield.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/fix_efield.cpp b/src/fix_efield.cpp index 42bc2efc94..3360c76722 100644 --- a/src/fix_efield.cpp +++ b/src/fix_efield.cpp @@ -104,21 +104,24 @@ void FixEfield::init() if (xstr) { xvar = input->variable->find(xstr); - if (xvar < 0) error->all(FLERR,"Variable name for fix efield does not exist"); + if (xvar < 0) error->all(FLERR, + "Variable name for fix efield does not exist"); if (input->variable->equalstyle(xvar)) xstyle = EQUAL; else if (input->variable->atomstyle(xvar)) xstyle = ATOM; else error->all(FLERR,"Variable for fix efield is invalid style"); } if (ystr) { yvar = input->variable->find(ystr); - if (yvar < 0) error->all(FLERR,"Variable name for fix efield does not exist"); + if (yvar < 0) error->all(FLERR, + "Variable name for fix efield does not exist"); if (input->variable->equalstyle(yvar)) ystyle = EQUAL; else if (input->variable->atomstyle(yvar)) ystyle = ATOM; else error->all(FLERR,"Variable for fix efield is invalid style"); } if (zstr) { zvar = input->variable->find(zstr); - if (zvar < 0) error->all(FLERR,"Variable name for fix efield does not exist"); + if (zvar < 0) error->all(FLERR, + "Variable name for fix efield does not exist"); if (input->variable->equalstyle(zvar)) zstyle = EQUAL; else if (input->variable->atomstyle(zvar)) zstyle = ATOM; else error->all(FLERR,"Variable for fix efield is invalid style");