use periodic BC in ScaLBL (model specific BC possible)

This commit is contained in:
James McClure committed 2020-09-23 12:30:22 -04:00
1 parent 0d6231f1cb
commit 11be793575
1 file changed
+2 -1
+2 -1
View File
@@ -77,7 +77,8 @@ ScaLBL_Communicator::ScaLBL_Communicator(std::shared_ptr <Domain> Dm){
nprocx = Dm->nprocx();
nprocy = Dm->nprocy();
nprocz = Dm->nprocz();
BoundaryCondition = Dm->BoundaryCondition;
//BoundaryCondition = Dm->BoundaryCondition;
BoundaryCondition = 0; // default to periodic BC
//......................................................................................
ScaLBL_AllocateZeroCopy((void **) &sendbuf_x, 5*sendCount_x*sizeof(double)); // Allocate device memory