- Timestamp:
- 11/12/15 16:33:25 (8 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/interface/c/icgenerate_rectilinear_domain.cpp
r785 r786 14 14 #include "icutil.hpp" 15 15 #include "timer.hpp" 16 #include " zoom_domain.hpp"16 #include "generate_rectilinear_domain.hpp" 17 17 18 18 extern "C" … … 22 22 // ----------------------- Redéfinition de types ---------------------------- 23 23 24 typedef xios::C ZoomDomain * XZoomDomainPtr;24 typedef xios::CGenerateRectilinearDomain * XGenDomainPtr; 25 25 26 26 // ------------------------ Création des handle ----------------------------- 27 void cxios_ zoom_domain_handle_create(XZoomDomainPtr * _ret, const char * _id, int _id_len)27 void cxios_generate_rectilinear_domain_handle_create(XGenDomainPtr * _ret, const char * _id, int _id_len) 28 28 { 29 29 std::string id; 30 30 if (!cstr2string(_id, _id_len, id)) return; 31 31 CTimer::get("XIOS").resume() ; 32 *_ret = xios::C ZoomDomain::get(id);32 *_ret = xios::CGenerateRectilinearDomain::get(id); 33 33 CTimer::get("XIOS").suspend() ; 34 34 } 35 35 36 36 // -------------------- Vérification des identifiants ----------------------- 37 void cxios_ zoom_domain_valid_id(bool * _ret, const char * _id, int _id_len)37 void cxios_generate_rectilinear_domain_valid_id(bool * _ret, const char * _id, int _id_len) 38 38 { 39 39 std::string id; … … 41 41 42 42 CTimer::get("XIOS").resume() ; 43 *_ret = xios::C ZoomDomain::has(id);43 *_ret = xios::CGenerateRectilinearDomain::has(id); 44 44 CTimer::get("XIOS").suspend() ; 45 45 }
Note: See TracChangeset
for help on using the changeset viewer.