Ignore:
Timestamp:
04/25/17 10:57:55 (7 years ago)
Author:
mhnguyen
Message:

Fixing bug of referencing to an object.

+) From now on, two objects of a same grid element (domain, axis, scalar) are equal if
they have the same non-empty attributes and the same transformations.
(This is very common case with inheritance by *_ref).

Test
+) On Curie
+) Ok with toy_cmip6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/scalar.hpp

    r888 r1106  
    7676           void duplicateTransformation(CScalar*); 
    7777           CTransformation<CScalar>* addTransformation(ETranformationType transType, const StdString& id=""); 
     78           bool isEqual(CScalar* scalar); 
    7879 
    7980         private: 
    8081           std::set<StdString> relFiles; 
     82           TransMapTypes transformationMap_; 
    8183 
    82          private: 
    83             TransMapTypes transformationMap_; 
    84             void checkTransformations(); 
     84         private:            
    8585            void setTransformations(const TransMapTypes&); 
    8686 
Note: See TracChangeset for help on using the changeset viewer.