Debugging color
This commit is contained in:
@@ -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,
|
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);
|
double *ColorGrad, double beta, int start, int finish, int Np);
|
||||||
|
*/
|
||||||
/*
|
/*
|
||||||
class ScaLBL_Color{
|
class ScaLBL_Color{
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
1.0
|
1.0 1.0
|
||||||
1.0e-2 0.95 -0.7
|
1.0 1.0
|
||||||
0.7
|
1.0e-2 0.95
|
||||||
0.0 0.0 0.0
|
0.0 0.0 0.0
|
||||||
0 1 1.01 0.99
|
0 4 0.0 1.0
|
||||||
50000 20000 1e-5
|
10000 2000 1e-5
|
||||||
|
|||||||
@@ -371,7 +371,7 @@ int main(int argc, char **argv)
|
|||||||
int *neighborList;
|
int *neighborList;
|
||||||
IntArray Map(Nx,Ny,Nz);
|
IntArray Map(Nx,Ny,Nz);
|
||||||
neighborList= new int[18*Np];
|
neighborList= new int[18*Np];
|
||||||
ScaLBL_Comm.MemoryOptimizedLayoutAA(Map,neighborList,Dm.id,Np);
|
ScaLBL_Comm.MemoryOptimizedLayoutAA(Map,neighborList,Mask.id,Np);
|
||||||
MPI_Barrier(comm);
|
MPI_Barrier(comm);
|
||||||
|
|
||||||
//...........................................................................
|
//...........................................................................
|
||||||
|
|||||||
Reference in New Issue
Block a user