From 2abcf030286f148af2bcbea34d5bf67708b01f92 Mon Sep 17 00:00:00 2001 From: JamesEMcclure Date: Thu, 21 Nov 2019 13:01:24 -0500 Subject: [PATCH] greyscale update --- tests/lbpm_greyscale_simulator.cpp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/tests/lbpm_greyscale_simulator.cpp b/tests/lbpm_greyscale_simulator.cpp index 9ab7c385..0744a214 100644 --- a/tests/lbpm_greyscale_simulator.cpp +++ b/tests/lbpm_greyscale_simulator.cpp @@ -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);