FrontISTR  5.7.0
Large-scale structural analysis program with finit element method
hecmw_vis_comm_util.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2019 FrontISTR Commons
3  * This software is released under the MIT License, see LICENSE.txt
4  *****************************************************************************/
5 
6 #ifndef HECMW_VIS_COMM_UTIL_H_INCLUDED
7 #define HECMW_VIS_COMM_UTIL_H_INCLUDED
8 
9 #include "hecmw_util.h"
10 
11 #define HECMW_STATUS_SIZE 4
12 
13 extern int HECMW_ANY_TAG;
14 
15 extern void whole_copy_array(int *recv_num, int *global_recv_num, int mynode,
16  int pesize, HECMW_Comm repart_comm);
17 
18 extern int stack_part_send_recv(int neibpetot, int *neibpe, int *stack_import,
19  int *stack_export, HECMW_Comm repart_comm,
20  int my_rank);
21 
22 extern int stack_whole_send_recv(int pesize, int *stack_export,
23  int *stack_import, HECMW_Comm repart_comm,
24  int my_rank);
25 
26 extern int int_part_send_recv(int n, int neibpetot, int *neibpe,
27  int *stack_import, int *nod_import,
28  int *stack_export, int *nod_export, int *x,
29  HECMW_Comm repart_comm, int my_rank);
30 
31 extern int double_part_send_recv(int n, int neibpetot, int *neibpe,
32  int *stack_import, int *nod_import,
33  int *stack_export, int *nod_export, double *x,
34  HECMW_Comm repart_comm, int my_rank);
35 
36 extern void int_whole_send_recv(int n1, int n2, int pesize, int *stack_import,
37  int *nod_import, int *stack_export,
38  int *nod_export, int *x, int *y,
39  HECMW_Comm repart_comm, int my_rank);
40 extern void int2_whole_send_recv(int n1, int n2, int pesize, int *stack_import,
41  int *stack_export, int *x, int *y,
42  HECMW_Comm repart_comm, int my_rank);
43 
44 extern void double2_whole_send_recv(int n1, int n2, int pesize,
45  int *stack_import, int *stack_export,
46  double *x, double *y,
47  HECMW_Comm repart_comm, int my_rank);
48 
49 extern void int3_whole_send_recv(int n1, int n2, int pesize, int *stack_import,
50  int *stack_export, int *x, int *y,
51  HECMW_Comm repart_comm, int my_rank);
52 
53 extern void double_whole_send_recv(int n1, int n2, int pesize,
54  int *stack_import, int *nod_import,
55  int *stack_export, int *nod_export,
56  double *x, double *y, HECMW_Comm repart_comm,
57  int my_rank);
58 
59 #endif /* HECMW_VIS_COMM_UTIL_H_INCLUDED */
whole_copy_array
void whole_copy_array(int *recv_num, int *global_recv_num, int mynode, int pesize, HECMW_Comm repart_comm)
Definition: hecmw_dlb_comm_util.c:100
double2_whole_send_recv
void double2_whole_send_recv(int n1, int n2, int pesize, int *stack_import, int *stack_export, double *x, double *y, HECMW_Comm repart_comm, int my_rank)
Definition: hecmw_dlb_comm_util.c:592
int_whole_send_recv
void int_whole_send_recv(int n1, int n2, int pesize, int *stack_import, int *nod_import, int *stack_export, int *nod_export, int *x, int *y, HECMW_Comm repart_comm, int my_rank)
Definition: hecmw_dlb_comm_util.c:421
double_part_send_recv
int double_part_send_recv(int n, int neibpetot, int *neibpe, int *stack_import, int *nod_import, int *stack_export, int *nod_export, double *x, HECMW_Comm repart_comm, int my_rank)
Definition: hecmw_dlb_comm_util.c:336
repart_comm
int repart_comm
Definition: hecmw_repart.h:70
HECMW_ANY_TAG
int HECMW_ANY_TAG
Definition: hecmw_dlb_comm_util.h:7
int_part_send_recv
int int_part_send_recv(int n, int neibpetot, int *neibpe, int *stack_import, int *nod_import, int *stack_export, int *nod_export, int *x, HECMW_Comm repart_comm, int my_rank)
Definition: hecmw_dlb_comm_util.c:260
stack_whole_send_recv
int stack_whole_send_recv(int pesize, int *stack_export, int *stack_import, HECMW_Comm repart_comm, int my_rank)
Definition: hecmw_dlb_comm_util.c:173
HECMW_Comm
MPI_Comm HECMW_Comm
Definition: hecmw_config.h:30
double_whole_send_recv
void double_whole_send_recv(int n1, int n2, int pesize, int *stack_import, int *nod_import, int *stack_export, int *nod_export, double *x, double *y, HECMW_Comm repart_comm, int my_rank)
Definition: hecmw_dlb_comm_util.c:705
stack_part_send_recv
int stack_part_send_recv(int neibpetot, int *neibpe, int *stack_import, int *stack_export, HECMW_Comm repart_comm, int my_rank)
Definition: hecmw_dlb_comm_util.c:128
int2_whole_send_recv
void int2_whole_send_recv(int n1, int n2, int pesize, int *stack_import, int *stack_export, int *x, int *y, HECMW_Comm repart_comm, int my_rank)
Definition: hecmw_dlb_comm_util.c:519
hecmw_util.h
int3_whole_send_recv
void int3_whole_send_recv(int n1, int n2, int pesize, int *stack_import, int *stack_export, int *x, int *y, HECMW_Comm repart_comm, int my_rank)
Definition: hecmw_dlb_comm_util.c:664