From 94831bf7a4b065fa7d93655dfa005bece2d40d39 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Tue, 13 May 2014 16:29:06 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11984 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/comm.h | 3 ++- src/input.cpp | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/comm.h b/src/comm.h index 1406120175..f5d2742c9a 100644 --- a/src/comm.h +++ b/src/comm.h @@ -23,6 +23,8 @@ class Comm : protected Pointers { int style; // comm pattern: 0 = 6-way stencil, 1 = irregular tiling int layout; // current proc domains: 0 = logical bricks, 1 = general tiling // can do style=1 on layout=0, but not vice versa + // NOTE: uniform needs to be subsumed into layout + int uniform; // 1 = equal subdomains, 0 = load-balanced int me,nprocs; // proc info int procgrid[3]; // procs assigned in each dim of 3d grid @@ -30,7 +32,6 @@ class Comm : protected Pointers { int myloc[3]; // which proc I am in each dim int procneigh[3][2]; // my 6 neighboring procs, 0/1 = left/right int ghost_velocity; // 1 if ghost atoms have velocity, 0 if not - int uniform; // 1 = equal subdomains, 0 = load-balanced double *xsplit,*ysplit,*zsplit; // fractional (0-1) sub-domain sizes double cutghost[3]; // cutoffs used for acquiring ghost atoms double cutghostuser; // user-specified ghost cutoff diff --git a/src/input.cpp b/src/input.cpp index ab7c08c2e4..9028d4c1e5 100644 --- a/src/input.cpp +++ b/src/input.cpp @@ -1165,6 +1165,7 @@ void Input::comm_style() "irregular tiling of proc domains"); comm = new CommBrick(lmp); } else if (strcmp(arg[0],"tiled") == 0) { + error->all(FLERR,"Comm_style tiled not yet supported"); comm = new CommTiled(lmp); } else error->all(FLERR,"Illegal comm_style command"); }