Last change
on this file since 340 was
335,
checked in by ymipsl, 12 years ago
|
Change namespace xmlioserver -> xios
YM
|
File size:
581 bytes
|
Rev | Line | |
---|
[300] | 1 | #ifndef __CLIENT_YM__HPP__ |
---|
| 2 | #define __CLIENT_YM__HPP__ |
---|
| 3 | |
---|
| 4 | #include "xmlioserver_spl.hpp" |
---|
| 5 | #include <mpi.h> |
---|
| 6 | |
---|
[335] | 7 | namespace xios |
---|
[300] | 8 | { |
---|
| 9 | namespace ym |
---|
| 10 | { |
---|
| 11 | class CClient |
---|
| 12 | { |
---|
| 13 | public: |
---|
| 14 | |
---|
| 15 | static void initialize(const string& codeId,MPI_Comm& localComm,MPI_Comm& returnComm) ; |
---|
| 16 | static void finalize(void) ; |
---|
| 17 | static void registerContext(const string& id,MPI_Comm contextComm) ; |
---|
| 18 | |
---|
| 19 | static MPI_Comm intraComm ; |
---|
| 20 | static MPI_Comm interComm ; |
---|
| 21 | static int serverLeader; |
---|
| 22 | static bool is_MPI_Initialized ; |
---|
| 23 | } ; |
---|
| 24 | } |
---|
| 25 | } |
---|
| 26 | |
---|
| 27 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.