merging multi-halo with electrokinetic

This commit is contained in:
JamesEMcclure
2020-10-09 15:19:59 -04:00
parent 5dfd2de344
commit 35447181df
4 changed files with 3 additions and 13 deletions

View File

@@ -271,7 +271,7 @@ void ScaLBL_Poisson::Create(){
if (rank==0) printf ("LB-Poisson Solver: Set up memory efficient layout \n");
Map.resize(Nx,Ny,Nz); Map.fill(-2);
auto neighborList= new int[18*Npad];
Np = ScaLBL_Comm->MemoryOptimizedLayoutAA(Map,neighborList,Mask->id,Np);
Np = ScaLBL_Comm->MemoryOptimizedLayoutAA(Map,neighborList,Mask->id,Np,1);
MPI_Barrier(comm);
//...........................................................................
// MAIN VARIABLES ALLOCATED HERE