Ignore:
Timestamp:
02/13/12 19:35:25 (12 years ago)
Author:
ymipsl
Message:

nouvelle version de developpement de xios

  • nouvelle interface fortran
  • recodage complet de la couche de communication
  • et bien d'autres choses...

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XMLIO_V2/dev/common/src/fortran/oasis_cinterface.cpp

    r286 r300  
    1616  } 
    1717   
    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  
    1926  void oasis_get_intracomm(MPI_Comm& comm_client_server,const std::string& server_id) 
    2027  { 
     
    2431    comm_client_server=MPI_Comm_f2c(f_comm) ; 
    2532  } 
    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  } 
    2741} 
Note: See TracChangeset for help on using the changeset viewer.