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/trunk/src/node/domain.hpp

    r610 r611  
    3838         enum EEventId 
    3939         { 
    40            EVENT_ID_SERVER_ATTRIBUT, EVENT_ID_INDEX, EVENT_ID_LON, EVENT_ID_LAT 
     40           EVENT_ID_SERVER_ATTRIBUT, EVENT_ID_INDEX, EVENT_ID_LON, EVENT_ID_LAT, EVENT_ID_AREA 
    4141         } ; 
    4242 
     
    7676         void checkZoom(void); 
    7777         void checkBounds(void); 
     78         void checkArea(void); 
    7879 
    7980 
     
    106107         CArray<double, 1> lonvalue_srv, latvalue_srv ; 
    107108         CArray<double, 2> bounds_lon_srv, bounds_lat_srv ; 
     109         CArray<double, 1> area_srv; 
    108110 
    109111 
     
    127129         void completeLonLatClient(void); 
    128130         void sendServerAttribut(void) ; 
    129          void sendLonLat(void) ; 
     131         void sendLonLatArea(void); 
    130132         void computeConnectedServer(void) ; 
     133 
    131134         static bool dispatchEvent(CEventServer& event); 
    132135         static void recvServerAttribut(CEventServer& event); 
     
    134137         static void recvLon(CEventServer& event); 
    135138         static void recvLat(CEventServer& event); 
     139         static void recvArea(CEventServer& event); 
    136140         void recvServerAttribut(CBufferIn& buffer); 
    137141         void recvIndex(int rank, CBufferIn& buffer); 
    138142         void recvLon(int rank, CBufferIn& buffer); 
    139143         void recvLat(int rank, CBufferIn& buffer); 
     144         void recvArea(int rank, CBufferIn& buffer); 
    140145 
    141146         /// Destructeur /// 
     
    151156         bool isCurvilinear ; 
    152157         bool hasBounds ; 
     158         bool hasArea; 
    153159       private : 
    154160 
Note: See TracChangeset for help on using the changeset viewer.