Last change
on this file since 475 was
475,
checked in by aclsce, 10 years ago
|
Modified to use Oasis-MCT coupler in coupled mode.
|
File size:
855 bytes
|
Rev | Line | |
---|
[325] | 1 | #ifndef __OASIS_CINTERFACE__ |
---|
| 2 | #define __OASIS_CINTERFACE__ |
---|
| 3 | #include <string> |
---|
[382] | 4 | #include "mpi.hpp" |
---|
[325] | 5 | |
---|
| 6 | extern "C" |
---|
| 7 | { |
---|
| 8 | |
---|
| 9 | void fxios_oasis_init(const char* server_id,int str_len) ; |
---|
[475] | 10 | void fxios_oasis_enddef(void) ; |
---|
[325] | 11 | void fxios_oasis_finalize(void) ; |
---|
| 12 | void fxios_oasis_get_localcomm(MPI_Fint* f_comm) ; |
---|
| 13 | void fxios_oasis_get_intracomm(MPI_Fint* f_comm_client_server,const char* client_id,int str_len) ; |
---|
| 14 | void fxios_oasis_get_intercomm(MPI_Fint* f_comm_client_server,const char* client_id,int str_len) ; |
---|
| 15 | } |
---|
| 16 | |
---|
[335] | 17 | namespace xios |
---|
[325] | 18 | { |
---|
| 19 | void oasis_init(const std::string& server_id) ; |
---|
[475] | 20 | void oasis_enddef(void) ; |
---|
[325] | 21 | void oasis_finalize(void) ; |
---|
| 22 | void oasis_get_localcomm(MPI_Comm& comm) ; |
---|
| 23 | void oasis_get_intracomm(MPI_Comm& comm_client_server,const std::string& server_id) ; |
---|
| 24 | void oasis_get_intercomm(MPI_Comm& comm_client_server,const std::string& server_id) ; |
---|
| 25 | } |
---|
| 26 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.