Changeset 300 for XMLIO_V2/dev/common/src/fortran/oasis_cinterface.cpp
- Timestamp:
- 02/13/12 19:35:25 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XMLIO_V2/dev/common/src/fortran/oasis_cinterface.cpp
r286 r300 16 16 } 17 17 18 18 void oasis_get_localcomm(MPI_Comm& comm) 19 { 20 MPI_Fint f_comm ; 21 22 fxios_oasis_get_localcomm(&f_comm) ; 23 comm=MPI_Comm_f2c(f_comm) ; 24 } 25 19 26 void oasis_get_intracomm(MPI_Comm& comm_client_server,const std::string& server_id) 20 27 { … … 24 31 comm_client_server=MPI_Comm_f2c(f_comm) ; 25 32 } 26 33 34 void oasis_get_intercomm(MPI_Comm& comm_client_server,const std::string& server_id) 35 { 36 MPI_Fint f_comm ; 37 38 fxios_oasis_get_intercomm(&f_comm,server_id.data(),server_id.size()) ; 39 comm_client_server=MPI_Comm_f2c(f_comm) ; 40 } 27 41 }
Note: See TracChangeset
for help on using the changeset viewer.