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

Generating Fortran interface for zoom_axis and zoom_domain

Test
+) On Curie
+) All results are correct

File:
1 edited

Legend:

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

    r783 r784  
    19501950      do 
    19511951      { 
     1952        StdString nodeId(""); 
     1953        if (node.getAttributes().end() != node.getAttributes().find("id")) 
     1954        { nodeId = node.getAttributes()["id"]; } 
     1955 
    19521956        if (node.getElementName() == zoom) { 
    1953           CZoomDomain* tmp = (CZoomDomainGroup::get(zoomDomainDefRoot))->createChild(); 
     1957          CZoomDomain* tmp = (CZoomDomainGroup::get(zoomDomainDefRoot))->createChild(nodeId); 
    19541958          tmp->parse(node); 
    19551959          transformationMap_.push_back(std::make_pair(TRANS_ZOOM_DOMAIN,tmp)); 
     
    19571961        else if (node.getElementName() == interpFromFile) 
    19581962        { 
    1959           CInterpolateDomain* tmp = (CInterpolateDomainGroup::get(interpDomainDefRoot))->createChild(); 
     1963          CInterpolateDomain* tmp = (CInterpolateDomainGroup::get(interpDomainDefRoot))->createChild(nodeId); 
    19601964          tmp->parse(node); 
    19611965          transformationMap_.push_back(std::make_pair(TRANS_INTERPOLATE_DOMAIN,tmp)); 
     
    19631967        else if (node.getElementName() == generateRectilinear) 
    19641968        { 
    1965           CGenerateRectilinearDomain* tmp = (CGenerateRectilinearDomainGroup::get(generateRectilinearDefRoot))->createChild(); 
     1969          CGenerateRectilinearDomain* tmp = (CGenerateRectilinearDomainGroup::get(generateRectilinearDefRoot))->createChild(nodeId); 
    19661970          tmp->parse(node); 
    19671971          transformationMap_.push_back(std::make_pair(TRANS_GENERATE_RECTILINEAR_DOMAIN,tmp)); 
Note: See TracChangeset for help on using the changeset viewer.