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

Implementing generic transformation algorithm (local commit)

+) Implement 3 important classes:

-gridTransformation to read transformation info from grid and interface with the rest of XIOS
-transformationMapping to be in charge of sending/receiving transformation info among clients
-transformationAlgorithm to represent various algorithms

+) Make some change on field to use the new classes

Test
+) Only test_new_features with inversed axis

File:
1 edited

Legend:

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

    r619 r620  
    9898         template <int N> bool updateFilteredData(CArray<double, N>&   data); 
    9999         template<int N> 
    100          void updateDataWithoutOperation(const CArray<double, N>& data); 
     100         void updateDataWithoutOperation(const CArray<double, N>& _data, CArray<double,1>& updatedData); 
    101101         bool updateDataFromExpression(const CArray<double, 1>&   data); 
    102102         void setDataFromExpression(const CArray<double, 1>& _data) ; 
     
    181181 
    182182        const std::vector<CField*>& getFilterSources(); 
    183         void applyFilter(); 
    184         void setAlgorithms(); 
     183        void applyFilter(const CArray<double, 1>& dataToSend, CArray<double,1>& dataToReceive); 
     184        void sendAndReceiveTransformedData(const std::map<int, CArray<int,1>* >& localIndexToSend, 
     185                                           const CArray<double, 1>& dataSrc, 
     186                                           const std::map<int, std::vector<CArray<int,1>* > >& localIndexToReceive, 
     187                                           CArray<double,1>& dataDest); 
    185188      public : 
    186189         /// Propriétés privées /// 
Note: See TracChangeset for help on using the changeset viewer.