Ignore:
Timestamp:
06/22/15 13:36:27 (9 years ago)
Author:
mhnguyen
Message:

Final testing transfomation algorithm: inverse axis (local commit)

+) Make some minor change to make sure one element (axis or domain) be able to have several similar transformation

Test
+) On Curie
+) test_new_feature: test passed with correct data written

File:
1 edited

Legend:

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

    r621 r622  
    6262 
    6363   //---------------------------------------------------------------- 
     64 
     65   CAxis* CAxis::createAxis() 
     66   { 
     67     CAxis* axis = CAxisGroup::get("axis_definition")->createChild(); 
     68     return axis; 
     69   } 
     70 
     71   void CAxis::duplicateAttributes(CAxis* axis) 
     72   { 
     73     axis->setAttributes(this); 
     74   } 
    6475 
    6576   void CAxis::checkAttributes(void) 
     
    374385          CInverseAxis* tmp = (CInverseAxisGroup::get(inverseAxisDefRoot))->createChild(); 
    375386          tmp->parse(node); 
    376           transformationMap_[TRANS_INVERSE_AXIS] = tmp; 
     387          transformationMap_.push_back(std::make_pair(TRANS_INVERSE_AXIS,tmp)); 
    377388        } else if (node.getElementName() == zoom) { 
    378389          CZoomAxis* tmp = (CZoomAxisGroup::get(zoomAxisDefRoot))->createChild(); 
    379390          tmp->parse(node); 
    380           transformationMap_[TRANS_ZOOM_AXIS] = tmp; 
     391          transformationMap_.push_back(std::make_pair(TRANS_ZOOM_AXIS,tmp)); 
    381392        } 
    382393      } while (node.goToNextElement()) ; 
Note: See TracChangeset for help on using the changeset viewer.