|
Teuchos Package Browser (Single Doxygen Collection) Version of the Day
|
Returns a default global communicator appropriate for the enviroment. More...
#include <Teuchos_DefaultComm.hpp>
Static Public Member Functions | |
| static Teuchos::RCP< const Comm< Ordinal > > | getComm () |
| Return the default glocal communicator. | |
| static Teuchos::RCP< const Comm< Ordinal > > | getDefaultSerialComm (const Teuchos::RCP< const Comm< Ordinal > > &comm) |
| Return a serial comm if the input comm in null. | |
Static Private Attributes | |
| static Teuchos::RCP< const Comm< Ordinal > > | comm_ = Teuchos::null |
| static Teuchos::RCP< const Comm< Ordinal > > | defaultSerialComm_ = Teuchos::rcp(new Teuchos::SerialComm<Ordinal>()) |
Returns a default global communicator appropriate for the enviroment.
If HAVE_MPI is defined, then an instance of MpiComm will be created from MPI_COMM_WORLD. Otherwise, a SerialComm is returned.
Definition at line 48 of file Teuchos_DefaultComm.hpp.
| Teuchos::RCP< const Teuchos::Comm< Ordinal > > Teuchos::DefaultComm< Ordinal >::getComm | ( | ) | [static] |
Return the default glocal communicator.
Note that this function can not be called until after MPI has been initialized if MPI is expected!
Definition at line 75 of file Teuchos_DefaultComm.hpp.
| Teuchos::RCP< const Teuchos::Comm< Ordinal > > Teuchos::DefaultComm< Ordinal >::getDefaultSerialComm | ( | const Teuchos::RCP< const Comm< Ordinal > > & | comm | ) | [static] |
Return a serial comm if the input comm in null.
Definition at line 89 of file Teuchos_DefaultComm.hpp.
Teuchos::RCP< const Teuchos::Comm< Ordinal > > Teuchos::DefaultComm< Ordinal >::comm_ = Teuchos::null [static, private] |
Definition at line 65 of file Teuchos_DefaultComm.hpp.
Teuchos::RCP< const Teuchos::Comm< Ordinal > > Teuchos::DefaultComm< Ordinal >::defaultSerialComm_ = Teuchos::rcp(new Teuchos::SerialComm<Ordinal>()) [static, private] |
Definition at line 66 of file Teuchos_DefaultComm.hpp.
1.7.4