00001 #include "hybridpressionmoduleagm_mpi.h" 00002 #include "netmpi.h" 00003 #include "transportbase.h" 00004 #include "numericmethods.h" 00005 00006 00007 #define BLACK_TO_RED 103 00008 #define RED_TO_BLACK 104 00009 #define B_PARAMETER 101 00010 #define BC_MESSAGE 102 00011 #define ROBIN_BC_MESSAGE 107 00012 00013 00014 HybridPressionModuleAGM_MPI::HybridPressionModuleAGM_MPI(OrthoMesh &mesh,Function3D &fPrescribedVelocities, Function3D &fPrescribedPression, Function3D &K,Function1D &fMobT,FunctionOfCellFields &fGravSource,double Xsize,double b,double theta,int meshOverlap,double maxTol, double agm_tol,unsigned agm_nIt,int debugLevel,std::ostream &out) 00015 :HybridPressionModuleMPI(mesh,fPrescribedVelocities,fPrescribedPression,K,fMobT,fGravSource,Xsize,b,theta,meshOverlap,maxTol,debugLevel,out), 00016 m_agm_tol(agm_tol),m_agm_nIt(agm_nIt) 00017 { 00018 00019 } 00020 00021 00022 00023 00024 HybridPressionModuleAGM_MPI::~HybridPressionModuleAGM_MPI() 00025 { 00026 00027 } 00028 00029 00030 00031 00032 00033 void HybridPressionModuleAGM_MPI::solve() 00034 { 00035 solveAGM.solve(m_A,m_sol,m_RHS,m_agm_tol,m_agm_nIt); 00036 }