XIOS  1.0
Xml I/O Server
 Tout Classes Espaces de nommage Fichiers Fonctions Variables Définitions de type Énumérations Valeurs énumérées Amis Macros
client_server_mapping_distributed.hpp
Aller à la documentation de ce fichier.
1 
11 #ifndef __XIOS_CLIENT_SERVER_MAPPING_DISTRIBUTED_HPP__
12 #define __XIOS_CLIENT_SERVER_MAPPING_DISTRIBUTED_HPP__
13 
15 #include "xios_spl.hpp"
16 #include "array_new.hpp"
17 #include "mpi.hpp"
18 #include <unordered_map>
20 
21 namespace xios
22 {
33 {
34  public:
36  CClientServerMappingDistributed(const std::unordered_map<size_t,int>& globalIndexOfServer,
37  const MPI_Comm& clientIntraComm,
38  bool isDataDistributed = true);
39 
40  virtual void computeServerIndexMapping(const CArray<size_t,1>& globalIndexOnClientSendToServer, int nbServer);
41 
44 
45  protected:
47 };
48 
49 } // namespace xios
50 #endif // __XIOS_CLIENT_SERVER_MAPPING_DISTRIBUTED_HPP__
This class provides the similar features like.
#define xios(arg)
This class computes index of data which are sent to server as well as index of data on server side...
virtual void computeServerIndexMapping(const CArray< size_t, 1 > &globalIndexOnClientSendToServer, int nbServer)
Compute mapping global index of server which client sends to.
Mapping between index client and server.
CClientServerMappingDistributed(const std::unordered_map< size_t, int > &globalIndexOfServer, const MPI_Comm &clientIntraComm, bool isDataDistributed=true)
Distributed hashed table implementation.
which implements a simple distributed hashed table; Moreover, by extending with hierarchical structur...