MOAB: Mesh Oriented datABase  (version 5.4.1)
ParallelHelperNoMPIStub.cpp
Go to the documentation of this file.
00001 #include "ParallelHelperNoMPIStub.hpp"
00002 
00003 namespace MBMesquite
00004 {
00005 
00006 int get_parallel_rank()
00007 {
00008     int rank = 0;
00009     // MPI_Comm_rank(MPI_COMM_WORLD, &rank);
00010     return rank;
00011 }
00012 
00013 int get_parallel_size()
00014 {
00015     int nprocs = 0;
00016     // MPI_Comm_size(MPI_COMM_WORLD, &nprocs);
00017     return nprocs;
00018 }
00019 
00020 double reduce_parallel_max( double value )
00021 {
00022     return value;
00023 }
00024 
00025 void parallel_barrier() {}
00026 
00027 }  // namespace MBMesquite
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines