Ignore:
Timestamp:
01/11/17 15:14:22 (7 years ago)
Author:
mhnguyen
Message:

Merging working version of coupler

+) Add some changes of domain and axis: Retransfer the atttributes in a generic ways for each level of client (or server)
+) Remove some spoiled files from the previous commits

Test
+) No test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_olga/src/distribution_server.hpp

    r983 r1025  
    3030                        const std::vector<int>& nZoomBeginGlobal, 
    3131                        const std::vector<int>& nGlobal); 
     32    CDistributionServer(int rank,  
     33                        const std::vector<CArray<int,1> >& globalIndexEachDimension, 
     34                        const std::vector<int>& nGlobal); 
    3235 
    3336    /** Default destructor */ 
     
    3841    const std::vector<int>& getZoomSizeServer() const; 
    3942    const GlobalLocalMap& getGlobalLocalIndex() const { return globalLocalIndexMap_; } 
     43    const std::vector<CArray<int,1> >& getGlobalIndexEachDimension() const;  
    4044 
    4145    virtual CArray<size_t,1> computeLocalIndex(const CArray<size_t,1>& globalIndex); 
     
    4549  protected: 
    4650    virtual void createGlobalIndex(); 
     51 
     52    void createGlobalIndexFromIndex(const std::vector<CArray<int,1> >& globalIndexOnEachDimension, 
     53                                    const std::vector<int>& nbGlobal); 
    4754 
    4855  protected: 
     
    5461    std::vector<int> nZoomSize_; 
    5562    std::vector<int> nZoomBegin_; 
     63    std::vector<CArray<int, 1> > globalIndexEachDimension_; 
    5664 
    5765}; 
Note: See TracChangeset for help on using the changeset viewer.