Adding BC to ScaLBL.h /.cpp
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user