Changeset 1067 for XIOS/dev/branch_yushan/src/interface/c
- Timestamp:
- 03/08/17 16:55:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_yushan/src/interface/c/icdata.cpp
r1060 r1067 1 1 /* ************************************************************************** * 2 * Copyright ©IPSL/LSCE, xios, Avril 2010 - Octobre 2011 *2 * Copyright IPSL/LSCE, xios, Avril 2010 - Octobre 2011 * 3 3 * ************************************************************************** */ 4 4 … … 29 29 extern "C" 30 30 { 31 // /////////////////////////////// D éfinitions ////////////////////////////// //32 33 // ----------------------- Red éfinition de types ----------------------------31 // /////////////////////////////// Dfinitions ////////////////////////////// // 32 33 // ----------------------- Redfinition de types ---------------------------- 34 34 35 35 typedef enum { NETCDF4 = 0 } XFileType; … … 37 37 typedef xios::CContext* XContextPtr; 38 38 39 // -------------------- Traitement des donn ées ------------------------------39 // -------------------- Traitement des donnes ------------------------------ 40 40 41 41 // This function is not exported to the public Fortran interface, … … 88 88 CTimer::get("XIOS init context").resume(); 89 89 comm = ep_lib::EP_Comm_f2c(static_cast< int >(*f_comm)); 90 91 //ep_lib::MPI_Comm ctx_comm; 92 //ep_lib::MPI_Comm_dup(comm, &ctx_comm); 90 93 91 CClient::registerContext(str, 94 CClient::registerContext(str,comm); 92 95 93 //printf("icdata.cpp: client register context OK\n");96 printf("icdata.cpp: client register context %s : %p\n", context_id, &comm); 94 97 95 98 CTimer::get("XIOS init context").suspend(); … … 384 387 385 388 386 // ---------------------- Ecriture des donn ées ------------------------------389 // ---------------------- Ecriture des donnes ------------------------------ 387 390 388 391 void cxios_write_data_k80(const char* fieldid, int fieldid_size, double* data_k8, int data_Xsize) … … 719 722 } 720 723 721 // ---------------------- Lecture des donn ées ------------------------------724 // ---------------------- Lecture des donnes ------------------------------ 722 725 723 726 void cxios_read_data_k80(const char* fieldid, int fieldid_size, double* data_k8, int data_Xsize)
Note: See TracChangeset
for help on using the changeset viewer.