an efficient C++ finite element environment
|
|
Go to the documentation of this file. 1 # ifndef _RHEO_ENVIRONMENT_H
2 # define _RHEO_ENVIRONMENT_H
79 #include "rheolef/distributed.h"
80 #include <boost/optional.hpp>
88 #ifdef _RHEOLEF_HAVE_MPI
92 #else // _RHEOLEF_HAVE_MPI
94 #endif // _RHEOLEF_HAVE_MPI
101 #ifndef _RHEOLEF_HAVE_MPI
121 static void abort(
int errcode);
125 static boost::optional<int>
io_rank();
128 bool _rheolef_has_init;
130 static const int _num_reserved_tags = 1;
132 #endif // _RHEOLEF_HAVE_MPI
134 #endif // _RHEO_ENVIRONMENT_H
static boost::optional< int > host_rank()
static std::string processor_name()
static void abort(int errcode)
static int collectives_tag()
environment(int &argc, char **&argv, const environment_option_type &opt=environment_option_type())
environment_option_type()
static boost::optional< int > io_rank()
see the environment page for the full documentation
static const int no_thread
This file is part of Rheolef.
static bool initialized()
static const int default_thread