New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
oasis_cinterface.hpp in vendors/XIOS/current/src/interface/c – NEMO

source: vendors/XIOS/current/src/interface/c/oasis_cinterface.hpp @ 3428

Last change on this file since 3428 was 3428, checked in by rblod, 12 years ago

importing initial XIOS vendor drop

File size: 791 bytes
Line 
1#ifndef __OASIS_CINTERFACE__
2#define __OASIS_CINTERFACE__
3#include <string>
4#include <mpi.h>
5
6extern "C"
7{
8
9  void fxios_oasis_init(const char* server_id,int str_len) ;
10  void fxios_oasis_finalize(void) ;
11  void fxios_oasis_get_localcomm(MPI_Fint* f_comm) ;
12  void fxios_oasis_get_intracomm(MPI_Fint* f_comm_client_server,const char* client_id,int str_len) ;
13  void fxios_oasis_get_intercomm(MPI_Fint* f_comm_client_server,const char* client_id,int str_len) ;
14}
15 
16namespace xios
17{
18  void oasis_init(const std::string& server_id) ;
19  void oasis_finalize(void) ;
20  void oasis_get_localcomm(MPI_Comm& comm) ;
21  void oasis_get_intracomm(MPI_Comm& comm_client_server,const std::string& server_id) ;
22  void oasis_get_intercomm(MPI_Comm& comm_client_server,const std::string& server_id) ;
23}
24#endif
Note: See TracBrowser for help on using the repository browser.