Changeset 795


Ignore:
Timestamp:
11/25/15 17:39:44 (5 years ago)
Author:
mhnguyen
Message:

Fixng a minor bug

+) Remove function that shadows the one of ancestor class

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

Location:
XIOS/trunk/src
Files:
3 edited

Legend:

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

    r789 r795  
    5858     CDomain* domain = CDomainGroup::get("domain_definition")->createChild(); 
    5959     return domain; 
    60    } 
    61  
    62    void CDomain::duplicateAttributes(CDomain* domain) 
    63    { 
    64      domain->setAttributes(this); 
    6560   } 
    6661 
  • XIOS/trunk/src/node/domain.hpp

    r789 r795  
    6161 
    6262         static CDomain* createDomain(); 
    63          void duplicateAttributes(CDomain* domain); 
    6463 
    6564         virtual void parse(xml::CXMLNode & node); 
  • XIOS/trunk/src/transformation/grid_transformation.cpp

    r742 r795  
    321321    case TRANS_ZOOM_DOMAIN: 
    322322      domainIndex = elementPosition2DomainPositionInGrid_[elementPositionInGrid]; 
     323      domListSrcP[domainIndex]->clearAllAttributes(); 
    323324      domListSrcP[domainIndex]->duplicateAttributes(domListDestP[domainIndex]); 
    324325      break; 
     
    328329    case TRANS_INVERSE_AXIS: 
    329330      axisIndex =  elementPosition2AxisPositionInGrid_[elementPositionInGrid]; 
     331      axisListSrcP[axisIndex]->clearAllAttributes(); 
    330332      axisListSrcP[axisIndex]->duplicateAttributes(axisListDestP[axisIndex]); 
    331333      break; 
Note: See TracChangeset for help on using the changeset viewer.