greyscale update
This commit is contained in:
parent
cf28b2794b
commit
2abcf03028
@ -47,15 +47,14 @@ int main(int argc, char **argv)
|
|||||||
MPI_Barrier(comm);
|
MPI_Barrier(comm);
|
||||||
|
|
||||||
|
|
||||||
ScaLBL_MRTModel MRT(rank,nprocs,comm);
|
ScaLBL_GreyscaleModel Greyscale(rank,nprocs,comm);
|
||||||
auto filename = argv[1];
|
auto filename = argv[1];
|
||||||
MRT.ReadParams(filename);
|
Greyscale.ReadParams(filename);
|
||||||
MRT.SetDomain(); // this reads in the domain
|
Greyscale.SetDomain(); // this reads in the domain
|
||||||
MRT.ReadInput();
|
Greyscale.ReadInput();
|
||||||
MRT.Create(); // creating the model will create data structure to match the pore structure and allocate variables
|
Greyscale.Create(); // creating the model will create data structure to match the pore structure and allocate variables
|
||||||
MRT.Initialize(); // initializing the model will set initial conditions for variables
|
Greyscale.Initialize(); // initializing the model will set initial conditions for variables
|
||||||
MRT.Run();
|
Greyscale.Run();
|
||||||
MRT.VelocityField();
|
|
||||||
}
|
}
|
||||||
// ****************************************************
|
// ****************************************************
|
||||||
MPI_Barrier(comm);
|
MPI_Barrier(comm);
|
||||||
|
Loading…
Reference in New Issue
Block a user