Ignore:
Timestamp:
11/12/15 16:33:25 (8 years ago)
Author:
mhnguyen
Message:

Generating interface for transformations

+) Update Fortran interface for other transformations
+) Remove some redundant files
+) Update test to new interface

Test
+) On Curie
+) test_client and test_complete are correct

File:
1 copied

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/interface/c/icinverse_axis.cpp

    r785 r786  
    1414#include "icutil.hpp" 
    1515#include "timer.hpp" 
    16 #include "zoom_axis.hpp" 
     16#include "inverse_axis.hpp" 
    1717 
    1818extern "C" 
     
    2222   // ----------------------- Redéfinition de types ---------------------------- 
    2323 
    24    typedef xios::CZoomAxis   * XZoomAxisPtr; 
     24   typedef xios::CInverseAxis      * XInverseAxisPtr; 
    2525 
    2626   // ------------------------ Création des handle ----------------------------- 
    27    void cxios_zoom_axis_handle_create (XZoomAxisPtr * _ret, const char * _id, int _id_len) 
     27   void cxios_inverse_axis_handle_create(XInverseAxisPtr * _ret, const char * _id, int _id_len) 
    2828   { 
    2929      std::string id; 
    3030      if (!cstr2string(_id, _id_len, id)) return; 
    3131      CTimer::get("XIOS").resume() ; 
    32       *_ret = xios::CZoomAxis::get(id); 
     32      *_ret = xios::CInverseAxis::get(id); 
    3333      CTimer::get("XIOS").suspend() ; 
    3434   } 
    3535 
    3636   // -------------------- Vérification des identifiants ----------------------- 
    37    void cxios_zoom_axis_valid_id (bool * _ret, const char * _id, int _id_len) 
     37   void cxios_inverse_axis_valid_id(bool * _ret, const char * _id, int _id_len) 
    3838   { 
    3939      std::string id; 
     
    4141 
    4242      CTimer::get("XIOS").resume() ; 
    43       *_ret = xios::CZoomAxis::has(id); 
     43      *_ret = xios::CInverseAxis::has(id); 
    4444      CTimer::get("XIOS").suspend() ; 
    4545   } 
Note: See TracChangeset for help on using the changeset viewer.