29 #ifndef __Application_H
30 #define __Application_H 1
34 #if defined( FEELPP_HAS_TRILINOS_EPETRA )
35 #undef PACKAGE_BUGREPORT
38 #undef PACKAGE_TARNAME
39 #undef PACKAGE_VERSION
41 #if defined(FEELPP_HAS_MPI)
43 #include <Epetra_MpiComm.h>
46 #include <Epetra_SerialComm.h>
48 #undef PACKAGE_BUGREPORT
51 #undef PACKAGE_TARNAME
52 #undef PACKAGE_VERSION
64 #if defined(FEELPP_HAS_MPI)
70 #if defined(FEELPP_HAS_MPI)
71 typedef Application super;
73 typedef Application super;
83 #if defined(FEELPP_HAS_MPI)
84 typedef Epetra_MpiComm comm_type;
86 typedef Epetra_SerialComm comm_type;
98 #if defined( FEELPP_HAS_MPI )
99 Application(
int argc,
102 MPI_Comm Comm = MPI_COMM_WORLD );
104 Application(
int argc,
106 AboutData
const& ad );
111 #if defined( FEELPP_HAS_MPI )
112 Application(
int argc,
115 po::options_description
const& od,
116 MPI_Comm Comm = MPI_COMM_WORLD );
118 Application(
int argc,
121 po::options_description
const& od );
144 static comm_type
const&
comm()
170 Application( Application
const & );
173 static void init( MPI_Comm&
comm );
175 static bool _S_is_Initialized;
177 static boost::shared_ptr<comm_type> _S_comm;