git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8793 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2012-09-18 21:31:39 +00:00
parent 48a72604fe
commit 7599fe233d
1 changed files with 4 additions and 2 deletions

View File

@ -69,7 +69,8 @@ FixThermalConductivity::FixThermalConductivity(LAMMPS *lmp,
error->all(FLERR,"Illegal fix thermal/conductivity command");
nswap = atoi(arg[iarg+1]);
if (nswap <= 0)
error->all(FLERR,"Fix thermal/conductivity swap value must be positive");
error->all(FLERR,
"Fix thermal/conductivity swap value must be positive");
iarg += 2;
} else error->all(FLERR,"Illegal fix thermal/conductivity command");
}
@ -114,7 +115,8 @@ void FixThermalConductivity::init()
for (int i = 0; i < modify->nfix; i++) {
if (modify->fix[i] == this) foundme = 1;
if (foundme && strcmp(modify->fix[i]->style,"ave/spatial") == 0 && me == 0)
error->warning(FLERR,"Fix thermal/conductivity comes before fix ave/spatial");
error->warning(FLERR,
"Fix thermal/conductivity comes before fix ave/spatial");
}
// set bounds of 2 slabs in edim