Changeset 554 for XIOS/trunk/src/node


Ignore:
Timestamp:
02/11/15 16:23:16 (9 years ago)
Author:
mhnguyen
Message:

Changing interface of tests to make sure global index begins at zero (0)

+) In all tests, ibegin, jbegin starts at zero (0), so there are some minor changes in field_glo
+) Improve a littel bit class design

Test
+) On Curie,
+) All test passed and results are the same as before

Location:
XIOS/trunk/src/node
Files:
2 edited

Legend:

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

    r553 r554  
    3636    virtual ~CDistributionClient(); 
    3737 
    38     const CArray<int,1>& getLocalDataIndexOnClient() const; 
     38    virtual const CArray<int,1>& getLocalDataIndexOnClient() const; 
    3939    std::vector<int> getNGlob() { return nGlob_; } 
    4040 
  • XIOS/trunk/src/node/distribution_server.hpp

    r553 r554  
    3030    virtual ~CDistributionServer(); 
    3131 
    32     CArray<size_t,1> computeLocalIndex(const CArray<size_t,1>& globalIndex); 
    33     void computeLocalIndex(CArray<size_t,1>& globalIndex); 
     32    virtual CArray<size_t,1> computeLocalIndex(const CArray<size_t,1>& globalIndex); 
     33    virtual void computeLocalIndex(CArray<size_t,1>& globalIndex); 
    3434 
    3535  protected: 
Note: See TracChangeset for help on using the changeset viewer.