Adding BC to ScaLBL.h /.cpp

This commit is contained in:
James E McClure
2018-03-19 10:40:50 -04:00
parent a25d3891e3
commit ebe4afb53b
2 changed files with 2 additions and 1 deletions

View File

@@ -79,6 +79,7 @@ ScaLBL_Communicator::ScaLBL_Communicator(Domain &Dm){
nprocx = Dm.nprocx;
nprocy = Dm.nprocy;
nprocz = Dm.nprocz;
BoundaryCondition = Dm.BoundaryCondition;
//......................................................................................
ScaLBL_AllocateDeviceMemory((void **) &sendbuf_x, 5*sendCount_x*sizeof(double)); // Allocate device memory

View File

@@ -227,6 +227,7 @@ public:
unsigned long int CommunicationCount,SendCount,RecvCount;
int Nx,Ny,Nz,N;
int next;
int BoundaryCondition;
//......................................................................................
// Set up for D319 distributions
// - determines how much memory is allocated
@@ -241,7 +242,6 @@ public:
double *recvbuf_xY, *recvbuf_yZ, *recvbuf_Xz, *recvbuf_XY, *recvbuf_YZ, *recvbuf_XZ;
//......................................................................................
void MemoryOptimizedLayoutAA(IntArray &Map, int *neighborList, char *id, int Np);
void MemoryOptimizedLayout(IntArray &Map, int *neighborList, char *id, int Np);
void MemoryOptimizedLayoutFull(IntArray &Map, int *neighborList, char *id, int Np);