Ignore:
Timestamp:
07/28/15 13:37:07 (9 years ago)
Author:
mhnguyen
Message:

Making changes in domain to make sure unstructed grid work with new method of index distribution

+) Change the way define i_index and j_index of a domain
+) Remove some redundant attributes of domain
+) Adjust the way to calculate index distribution on server side

Test
+) Make some minor change to test_unstruct_complete to work with new XIOS
+) On Curie
+) All test pass and correct

File:
1 edited

Legend:

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

    r631 r657  
    6868 
    6969         void checkAttributesOnClient(); 
     70         void checkAttributesOnClientAfterTransformation(); 
    7071 
    7172         void sendCheckedAttributes(); 
     
    100101         /// Test /// 
    101102         bool IsWritten(const StdString & filename) const; 
    102          bool hasZoom(void) const; 
     103//         bool hasZoom(void) const; 
    103104         bool isEmpty(void) const; 
    104105         bool isDistributed(void) const; 
     
    165166 
    166167         static ENodeType GetType(void); 
    167  
     168         const std::map<int, vector<size_t> >& getIndexServer() const; 
    168169         CArray<int, 2> local_mask; 
    169170         bool isCurvilinear ; 
     
    173174         void checkTransformations(); 
    174175         void setTransformations(const TransMapTypes&); 
     176         void computeNGlobDomain(); 
    175177 
    176178       private : 
     
    178180         std::set<StdString> relFiles; 
    179181         bool isClientChecked; // Verify whether all attributes of domain on the client side are good 
     182         bool isClientAfterTransformationChecked; 
    180183         std::map<int, CArray<int,1> > indiSrv, indjSrv; 
    181184         std::map<int,int> nbConnectedClients_; // Mapping of number of communicating client to a server 
     
    184187         bool isDistributed_; 
    185188         TransMapTypes transformationMap_; 
     189         std::vector<int> nGlobDomain_; 
     190         bool isUnstructed_; 
     191         CArray<bool,1> maskInter_; 
     192 
    186193 
    187194         DECLARE_REF_FUNC(Domain,domain) 
Note: See TracChangeset for help on using the changeset viewer.