Ignore:
Timestamp:
02/13/12 19:35:25 (12 years ago)
Author:
ymipsl
Message:

nouvelle version de developpement de xios

  • nouvelle interface fortran
  • recodage complet de la couche de communication
  • et bien d'autres choses...

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XMLIO_V2/dev/common/src/node/domain.hpp

    r286 r300  
    77 
    88#include "declare_group.hpp" 
     9#include "event_client.hpp" 
     10#include "event_server.hpp" 
     11#include "buffer_in.hpp" 
    912 
    1013namespace xmlioserver { 
     
    3033      , public CDomainAttributes 
    3134   { 
     35         enum EEventId 
     36         { 
     37           EVENT_ID_SERVER_ATTRIBUT, EVENT_ID_LON_LAT 
     38         } ; 
     39          
    3240         /// typedef /// 
    3341         typedef CObjectTemplate<CDomain>   SuperClass; 
     
    9199         bool isEmpty(void) const; 
    92100          
     101          
     102         int ni_client,ibegin_client,iend_client ; 
     103         int zoom_ni_client,zoom_ibegin_client,zoom_iend_client ; 
     104 
     105         int nj_client,jbegin_client,jend_client ; 
     106         int zoom_nj_client,zoom_jbegin_client,zoom_jend_client ; 
     107 
     108         int ni_srv,ibegin_srv,iend_srv ; 
     109         int zoom_ni_srv,zoom_ibegin_srv,zoom_iend_srv ; 
     110 
     111         int nj_srv,jbegin_srv,jend_srv ; 
     112         int zoom_nj_srv,zoom_jbegin_srv,zoom_jend_srv ; 
     113 
     114         ARRAY(double, 1) lonvalue_srv, latvalue_srv ; 
     115          
     116          
     117        vector<int> connectedServer,nbSenders ; 
     118        vector<int> ib_srv, ie_srv, in_srv ; 
     119        vector<int> jb_srv, je_srv, jn_srv ; 
     120          
    93121      public : 
    94122       
     
    97125         void completeLonLatServer(void); 
    98126         void completeLonLatClient(void); 
     127         void sendServerAttribut(void) ; 
     128         void sendLonLat(void) ; 
     129         void computeConnectedServer(void) ; 
     130         static bool dispatchEvent(CEventServer& event) ; 
     131         static void recvLonLat(CEventServer& event) ; 
     132         static void recvServerAttribut(CEventServer& event) ; 
     133         void recvLonLat(CBufferIn& buffer) ; 
     134         void recvServerAttribut(CBufferIn& buffer) ; 
    99135          
    100136         /// Destructeur /// 
     
    117153         std::vector<int> ibegin_zoom_sub, jbegin_zoom_sub, ni_zoom_sub, nj_zoom_sub; 
    118154         std::vector<ARRAY(double, 1)> lonvalue_sub, latvalue_sub; 
     155          
    119156 
    120157   }; // class CDomain 
Note: See TracChangeset for help on using the changeset viewer.