Ignore:
Timestamp:
06/10/15 10:39:11 (9 years ago)
Author:
rlacroix
Message:

Improve CF compliance: Add a new domain attribute "area".

Fixes ticket #68.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/branchs/xios-1.0/src/node/domain.hpp

    r610 r611  
    3737         enum EEventId 
    3838         { 
    39            EVENT_ID_SERVER_ATTRIBUT, EVENT_ID_LON_LAT 
     39           EVENT_ID_SERVER_ATTRIBUT, EVENT_ID_LON_LAT, EVENT_ID_AREA 
    4040         } ; 
    4141 
     
    7171         void checkZoom(void); 
    7272         void checkBounds(void); 
     73         void checkArea(void); 
    7374 
    7475 
     
    100101         CArray<double, 1> lonvalue_srv, latvalue_srv ; 
    101102         CArray<double, 2> bounds_lon_srv, bounds_lat_srv ; 
     103         CArray<double, 1> area_srv; 
    102104 
    103105 
     
    119121         void completeLonLatClient(void); 
    120122         void sendServerAttribut(void); 
    121          void sendLonLat(void); 
     123         void sendLonLatArea(void); 
    122124         void computeConnectedServer(void); 
     125 
    123126         static bool dispatchEvent(CEventServer& event); 
    124127         static void recvServerAttribut(CEventServer& event); 
    125128         static void recvLonLat(CEventServer& event); 
     129         static void recvArea(CEventServer& event); 
    126130         void recvServerAttribut(CBufferIn& buffer); 
    127131         void recvLonLat(int rank, CBufferIn& buffer); 
     132         void recvArea(int rank, CBufferIn& buffer); 
    128133 
    129134         /// Destructeur /// 
     
    139144         bool isCurvilinear ; 
    140145         bool hasBounds ; 
     146         bool hasArea; 
     147 
    141148       private : 
    142  
    143149         /// Proriétés protégées /// 
    144150         bool isChecked; 
Note: See TracChangeset for help on using the changeset viewer.