source: XIOS/trunk/src/mpi_tag.hpp @ 829

Last change on this file since 829 was 829, checked in by mhnguyen, 8 years ago

Refactoring transformation code

+) On exchanging information during transformation, not only global index are sent but also local index
+) Correct a bug in distributed hash table (dht)
+) Add new type for dht
+) Clean up some redundant codes

Test
+) On Curie
+) Every test passes
+) Code runs faster in some cases (up to 30%)

File size: 1.7 KB
RevLine 
[720]1#ifndef __XIOS_MPI_TAG_HPP__
2#define __XIOS_MPI_TAG_HPP__
3
4/* Tag for mpi communication to send and receive index in distributed hashed table version 2*/
5#define MPI_DHT_INDEX 15
6
7/* Tag for mpi communication to send and receive info in distributed hashed table version 2*/
8#define MPI_DHT_INFO 12
9
10/* Tag for mpi communication to send and receive index in distributed hashed table version 1*/
11#define MPI_DHT_INDEX_0 25
12
13/* Tag for mpi communication to send and receive info in distributed hashed table version 1*/
14#define MPI_DHT_INFO_0 22
15
[821]16/* Tag for mpi communication to send and receive info of current grid source in grid transformation*/
17#define MPI_GRID_TRANSFORMATION_CURRENT_GRID_INDEX 31
18
19/* Tag for mpi communication to send and receive info of current grid source in grid transformation*/
[829]20#define MPI_GRID_TRANSFORMATION_ORIGINAL_GRID_GLOBAL_INDEX 32
[821]21
22/* Tag for mpi communication to send and receive info of current grid source in grid transformation*/
[829]23#define MPI_GRID_TRANSFORMATION_ORIGINAL_GRID_LOCAL_INDEX 33
[821]24
[829]25/* Tag for mpi communication to send and receive info of current grid source in grid transformation*/
26#define MPI_GRID_TRANSFORMATION_ORIGINAL_GRID_WEIGHT 34
27
28/* Tag for mpi communication to send and receive info grid source and grid destination in transformation mapping*/
29#define MPI_TRANSFORMATION_MAPPING_INDEX 35
30
[821]31/* Tag for mpi communication to send and receive info of DOMAIN in domain interpolation*/
32#define MPI_DOMAIN_INTERPOLATION_DEST_INDEX 7
33
34/* Tag for mpi communication to send and receive info of DOMAIN in domain interpolation*/
35#define MPI_DOMAIN_INTERPOLATION_SRC_INDEX 8
36
37/* Tag for mpi communication to send and receive info of DOMAIN in domain interpolation*/
38#define MPI_DOMAIN_INTERPOLATION_WEIGHT 9
39
[829]40
41
[720]42#endif
Note: See TracBrowser for help on using the repository browser.