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/grid.hpp

    r286 r300  
    4141         typedef CGridGroup      RelGroup; 
    4242 
     43         enum EEventId 
     44         { 
     45           EVENT_ID_INDEX 
     46         } ; 
     47          
    4348         /// Constructeurs /// 
    4449         CGrid(void); 
     
    8186         void inputFieldServer(const std::deque<ARRAY(double, 1)> storedClient, 
    8287                                                ARRAY(double, 1)  storedServer) const; 
    83  
     88/* 
    8489         template <StdSize n> 
    8590            void outputField(const ARRAY(double, 1) stored,  ARRAY(double, n) field) const; 
    86  
     91*/ 
     92         void outputField(int rank, const ARRAY(double, 1) stored,  ARRAY(double, 3) field)  ; 
     93         void outputField(int rank, const ARRAY(double, 1) stored,  ARRAY(double, 2) field)  ; 
     94         void outputField(int rank,const ARRAY(double, 1) stored,  ARRAY(double, 1) field)  ;  
     95    
    8796         /// Destructeur /// 
    8897         virtual ~CGrid(void); 
     
    102111            CreateGrid(boost::shared_ptr<CDomain> domain, boost::shared_ptr<CAxis> axis); 
    103112 
    104       protected : 
     113      public : 
    105114 
    106115         /// Entrées-sorties de champs (interne) /// 
     
    113122         void solveAxisRef(void); 
    114123 
     124         static bool dispatchEvent(CEventServer& event) ; 
     125         void outputFieldToServer(ARRAY(double, 1) fieldIn, int rank, ARRAY(double, 1) fieldOut) ; 
     126         static void recvIndex(CEventServer& event) ; 
     127         void recvIndex(int rank, CBufferIn& buffer) ; 
     128         void sendIndex(void) ; 
     129          
    115130      public: 
    116131 
     
    126141         std::deque<ARRAY(int, 1)> out_j_index ; 
    127142         std::deque<ARRAY(int, 1)> out_l_index ; 
    128  
     143         ARRAY(int, 1) storeIndex_client ; 
     144         ARRAY(int, 1) out_i_client ; 
     145         ARRAY(int, 1) out_j_client ; 
     146         ARRAY(int, 1) out_l_client ; 
     147          
     148         map<int,ARRAY(int, 1)>  storeIndex_toSrv ; 
     149         map<int,int> nbSenders ; 
     150//         std::deque<ARRAY(int, 1)> out_i_toSrv ; 
     151//         std::deque<ARRAY(int, 1)> out_j_toSrv ; 
     152//         std::deque<ARRAY(int, 1)> out_l_toSrv ; 
     153          
     154         map<int,ARRAY(int, 1)> out_i_fromClient ; 
     155         map<int,ARRAY(int, 1)> out_j_fromClient ; 
     156         map<int,ARRAY(int, 1)> out_l_fromClient ; 
     157          
    129158   }; // class CGrid 
    130159 
Note: See TracChangeset for help on using the changeset viewer.