Ignore:
Timestamp:
07/05/16 15:59:10 (8 years ago)
Author:
mhnguyen
Message:

Adding new transformation for scalar: Reducing an axis to a scalar

+) Add new xml node for new transformation
+) Add new algorithms for axis reduction
+) Make change in some place to make sure everything work fine

Test
+) On Curie
+) Tests pass and are correct

File:
1 edited

Legend:

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

    r887 r888  
    6868            bool IsWritten(const StdString& filename) const; 
    6969            void checkAttributesOnClient(); 
     70            virtual void parse(xml::CXMLNode & node); 
    7071 
    7172         public: 
     
    7576           void duplicateTransformation(CScalar*); 
    7677           CTransformation<CScalar>* addTransformation(ETranformationType transType, const StdString& id=""); 
     78 
    7779         private: 
    7880           std::set<StdString> relFiles; 
     
    8284            void checkTransformations(); 
    8385            void setTransformations(const TransMapTypes&); 
    84          private: 
     86 
     87       private: 
     88           static bool initializeTransformationMap(std::map<StdString, ETranformationType>& m); 
     89           static std::map<StdString, ETranformationType> transformationMapList_; 
     90           static bool dummyTransformationMapList_; 
     91 
     92 
    8593            DECLARE_REF_FUNC(Scalar,scalar) 
    8694 
Note: See TracChangeset for help on using the changeset viewer.