Last change
on this file since 1572 was
300,
checked in by ymipsl, 13 years ago
|
nouvelle version de developpement de xios
- nouvelle interface fortran
- recodage complet de la couche de communication
- et bien d'autres choses...
YM
|
File size:
743 bytes
|
Line | |
---|
1 | #ifndef __XIOS_HPP__ |
---|
2 | #define __XIOS_HPP__ |
---|
3 | |
---|
4 | #include "xmlioserver_spl.hpp" |
---|
5 | #include <mpi.h> |
---|
6 | |
---|
7 | namespace xmlioserver |
---|
8 | { |
---|
9 | class CXios |
---|
10 | { |
---|
11 | public: |
---|
12 | |
---|
13 | static string rootFile ; |
---|
14 | static string xiosCodeId ; |
---|
15 | |
---|
16 | static void initialize(void) ; |
---|
17 | |
---|
18 | |
---|
19 | static void initClientSide(const string & codeId, MPI_Comm& localComm, MPI_Comm& returnComm) ; |
---|
20 | static void initServerSide(void) ; |
---|
21 | static void clientFinalize(void) ; |
---|
22 | |
---|
23 | template <typename T> |
---|
24 | static T getin(const string& id) ; |
---|
25 | |
---|
26 | |
---|
27 | static bool isClient ; |
---|
28 | static bool isServer ; |
---|
29 | |
---|
30 | static MPI_Comm globalComm ; |
---|
31 | |
---|
32 | static bool usingOasis ; |
---|
33 | static bool usingServer ; |
---|
34 | |
---|
35 | } ; |
---|
36 | } |
---|
37 | |
---|
38 | #include "cxios_impl.hpp" |
---|
39 | |
---|
40 | |
---|
41 | |
---|
42 | |
---|
43 | |
---|
44 | |
---|
45 | |
---|
46 | |
---|
47 | |
---|
48 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.