Debugging color

This commit is contained in:
James E McClure
2018-01-26 20:42:31 -05:00
parent b5697ea55e
commit b4b876db56
3 changed files with 7 additions and 6 deletions

View File

@@ -175,6 +175,7 @@ extern "C" void ScaLBL_D3Q19_AAeven_ColorMass(double *Aq, double *Bq, double *De
extern "C" void ScaLBL_D3Q19_AAodd_ColorMass(int *d_neighborList, double *Aq, double *Bq, double *Den, double *Vel,
double *ColorGrad, double beta, int start, int finish, int Np);
*/
/*
class ScaLBL_Color{
public:

View File

@@ -1,6 +1,6 @@
1.0
1.0e-2 0.95 -0.7
0.7
1.0 1.0
1.0 1.0
1.0e-2 0.95
0.0 0.0 0.0
0 1 1.01 0.99
50000 20000 1e-5
0 4 0.0 1.0
10000 2000 1e-5

View File

@@ -371,7 +371,7 @@ int main(int argc, char **argv)
int *neighborList;
IntArray Map(Nx,Ny,Nz);
neighborList= new int[18*Np];
ScaLBL_Comm.MemoryOptimizedLayoutAA(Map,neighborList,Dm.id,Np);
ScaLBL_Comm.MemoryOptimizedLayoutAA(Map,neighborList,Mask.id,Np);
MPI_Barrier(comm);
//...........................................................................