Ignore:
Timestamp:
03/02/17 10:42:39 (7 years ago)
Author:
mhnguyen
Message:

Auto-distribution of unstructured grid read from a file.

+ Unstructured grid read from a file is now distributed automatically among clients if there is
no distribution information provided.
+ Attributes of grid can be setup: From model (highest priority), from file (reading), or auto-generation (lowest priority).
If an attribute can be setup by several ways, it will be setup by one with the higher priority.

Test
+ On Curie
+ Tests pass

File:
1 edited

Legend:

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

    r953 r1064  
    103103         bool isDistributed(void) const; 
    104104         bool isCompressible(void) const; 
     105         bool distributionAttributesHaveValue() const; 
    105106 
    106107         int ni_srv,ibegin_srv,iend_srv ; 
     
    136137         void fillInRectilinearBoundLonLat(CArray<double,1>& lon, CArray<double,1>& lat, 
    137138                                           CArray<double,2>& boundsLon, CArray<double,2>& boundsLat); 
    138          void fillInRectilinearLonLat(); 
     139          
     140         void fillInLonLat(); 
    139141 
    140142         static bool dispatchEvent(CEventServer& event); 
     
    189191         void sendLonLat(); 
    190192 
     193         void fillInRectilinearLonLat(); 
     194         void fillInCurvilinearLonLat(); 
     195         void fillInUnstructuredLonLat(); 
    191196       private: 
    192197         bool isChecked; 
Note: See TracChangeset for help on using the changeset viewer.