small changes to lbpm_BlobAnalysis

This commit is contained in:
James E McClure 2015-03-07 15:37:04 -05:00
parent 6d7e45ddc4
commit ba66da2d0f

View File

@ -52,7 +52,11 @@ int main(int argc, char **argv)
int Nx,Ny,Nz,N,nspheres; int Nx,Ny,Nz,N,nspheres;
double Lx,Ly,Lz; double Lx,Ly,Lz;
int BC,nblobs; int BC; // type of boundary condition applied: 0-periodic, 1-pressure/velocity
int nblobs_global; // number of blobs in the global system
int *CubeList;
if (rank==0){ if (rank==0){
//....................................................................... //.......................................................................
@ -161,9 +165,15 @@ int main(int argc, char **argv)
Averages.Vel_y.data[n]=vy; Averages.Vel_y.data[n]=vy;
Averages.Vel_z.data[n]=vz; Averages.Vel_z.data[n]=vz;
} }
Averages.Phase();
Averages.LocalBlobID();
// Count the number of cubes for each blob
for (k=0;k<Nz;k++){
for (j=0;j<Ny;j++){
for (i=1;i<Nx;i++){
}
}
}
/* Averages.Initialize(); /* Averages.Initialize();
Averages.ComputeDelPhi(); Averages.ComputeDelPhi();