final tweaks
This commit is contained in:
@ -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
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
@ -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
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user