source: XIOS/dev/dev_ym/XIOS_COUPLING/src/distribution/leader_process.hpp @ 2305

Last change on this file since 2305 was 2178, checked in by ymipsl, 3 years ago

Externalize in separate file the management of server leader that was in CContextClient. Think later to replace the call in conttexCilent by this new one.

YM

  • Property svn:executable set to *
File size: 412 bytes
Line 
1#ifndef __LEADER_PROCESS_HPP__
2#define __LEADER_PROCESS_HPP__
3#include <list>
4
5namespace xios
6{
7  void computeLeaderProcess(int clientRank, int clientSize, int serverSize,
8                                       std::list<int>& rankRecvLeader,
9                                       std::list<int>& rankRecvNotLeader) ;
10  int getLeaderRank(int clientSize, int serverSize, int serverRank) ;
11}
12
13#endif
Note: See TracBrowser for help on using the repository browser.