#include #include #include #include #include #include #include #include "models/DFHModel.h" //#define WRE_SURFACES /* * Simulator for two-phase flow in porous media * James E. McClure 2013-2014 */ using namespace std; //************************************************************************* // Implementation of Two-Phase Immiscible LBM using CUDA //************************************************************************* int main(int argc, char **argv) { // Initialize MPI int provided_thread_support = -1; MPI_Init_thread(&argc,&argv,MPI_THREAD_MULTIPLE,&provided_thread_support); Utilities::MPI comm( MPI_COMM_WORLD ); int rank = comm.getRank(); int nprocs = comm.getSize(); if ( rank==0 && provided_thread_support