Ignore:
Timestamp:
04/08/16 15:00:45 (8 years ago)
Author:
mhnguyen
Message:

Exposing transformation to Fortran interface

+) Export zoom and axis transformation to Fortran interface

Test
+) On Curie
+) All work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/zoom_axis.cpp

    r787 r836  
    1616  CZoomAxis::~CZoomAxis(void) 
    1717  {} 
     18 
     19  CTransformation<CAxis>* CZoomAxis::create(const StdString& id, xml::CXMLNode* node) 
     20  { 
     21    CZoomAxis* zoomAxis = CZoomAxisGroup::get("zoom_axis_definition")->createChild(id); 
     22    if (node) zoomAxis->parse(*node); 
     23    return static_cast<CTransformation<CAxis>*>(zoomAxis); 
     24  } 
     25 
     26  bool CZoomAxis::registerTrans() 
     27  { 
     28    return registerTransformation(TRANS_ZOOM_AXIS, CZoomAxis::create); 
     29  } 
     30 
     31  bool CZoomAxis::_dummyRegistered = CZoomAxis::registerTrans(); 
    1832 
    1933  //---------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.