final tweaks

This commit is contained in:
Steve Plimpton
2021-08-26 10:19:22 -06:00
parent 0fb03072b1
commit cbe27096b3
3 changed files with 2 additions and 5 deletions

View File

@ -45,7 +45,7 @@ using namespace FixConst;
// use SHIFT = 0.0 for now since it allows fix ave/chunk
// to spatially average consistent with the TTM grid
#define OFFSET 0 // change to 16384 when done debugging vs ttm/old
#define OFFSET 16384
#define SHIFT 0.0
/* ---------------------------------------------------------------------- */

View File

@ -38,9 +38,7 @@ using namespace FixConst;
static constexpr int MAXLINE = 256;
static constexpr int CHUNK = 1024;
//#define OFFSET 16384
#define OFFSET 0
#define OFFSET 16384
/* ---------------------------------------------------------------------- */

View File

@ -304,7 +304,6 @@ void FixTTMMod::post_force(int /*vflag*/)
for (int i = 0; i < nlocal; i++) {
if (mask[i] & groupbit) {
double xscale = (x[i][0] - domain->boxlo[0])/domain->xprd;
double yscale = (x[i][1] - domain->boxlo[1])/domain->yprd;
double zscale = (x[i][2] - domain->boxlo[2])/domain->zprd;