refactor
This commit is contained in:
parent
7528a34972
commit
b8b2ee8400
@ -18,7 +18,7 @@ Color {
|
|||||||
|
|
||||||
Domain {
|
Domain {
|
||||||
nproc = 1, 1, 1 // Number of processors (Npx,Npy,Npz)
|
nproc = 1, 1, 1 // Number of processors (Npx,Npy,Npz)
|
||||||
n = 80, 80, 80 // Size of local domain (Nx,Ny,Nz)
|
n = 16, 16, 16 // Size of local domain (Nx,Ny,Nz)
|
||||||
n_spheres = 1 // Number of spheres
|
n_spheres = 1 // Number of spheres
|
||||||
L = 1, 1, 1 // Length of domain (x,y,z)
|
L = 1, 1, 1 // Length of domain (x,y,z)
|
||||||
BC = 0 // Boundary condition type
|
BC = 0 // Boundary condition type
|
||||||
|
@ -46,10 +46,6 @@ int main (int argc, char *argv[])
|
|||||||
TwoPhase Averages(Dm);
|
TwoPhase Averages(Dm);
|
||||||
int timestep=0;
|
int timestep=0;
|
||||||
|
|
||||||
int Nx = Dm.Nx;
|
|
||||||
int Ny = Dm.Ny;
|
|
||||||
int Nz = Dm.Nz;
|
|
||||||
|
|
||||||
double Cx,Cy,Cz;
|
double Cx,Cy,Cz;
|
||||||
double dist1,dist2;
|
double dist1,dist2;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user