greyscale update

This commit is contained in:
JamesEMcclure 2019-11-21 13:01:24 -05:00
parent cf28b2794b
commit 2abcf03028

View File

@ -47,15 +47,14 @@ int main(int argc, char **argv)
MPI_Barrier(comm);
ScaLBL_MRTModel MRT(rank,nprocs,comm);
ScaLBL_GreyscaleModel Greyscale(rank,nprocs,comm);
auto filename = argv[1];
MRT.ReadParams(filename);
MRT.SetDomain(); // this reads in the domain
MRT.ReadInput();
MRT.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
MRT.Run();
MRT.VelocityField();
Greyscale.ReadParams(filename);
Greyscale.SetDomain(); // this reads in the domain
Greyscale.ReadInput();
Greyscale.Create(); // creating the model will create data structure to match the pore structure and allocate variables
Greyscale.Initialize(); // initializing the model will set initial conditions for variables
Greyscale.Run();
}
// ****************************************************
MPI_Barrier(comm);