HARM
harm and utilities
 All Data Structures Files Functions Variables Typedefs Macros Pages
mpi_set_arrays.c
Go to the documentation of this file.
1 
6 #include "decs.h"
7 
8 // set mpi arrays (both perpoint and multidimen)
9 void mpi_set_arrays(void)
10 {
11  void mpi_set_arrays_multidimen(void);
12  void mpi_set_arrays_perpoint_perline(void);
13 
14 
15  mpi_set_arrays_perpoint_perline();
16  mpi_set_arrays_multidimen();
17 
18 
19 }
20 
21 
22 void mpi_set_arrays_multidimen(void)
23 {
24 
25  // no true multi-dimensional arrays so far
26 
27 }
28 
29 
30 void mpi_set_arrays_perpoint_perline(void)
31 {
32 
33  // these arrays don't have dependence on directions (i,j,k) in storage mapping function
34 #if(USEMPI)
35  workbc = (FTYPE(*)[COMPDIM * 2][NMAXBOUND * NBIGBND * NBIGSM]) (&(workbca[-1][0][0]));
36 
37  workbc_int =(PFTYPE(*)[COMPDIM * 2][NUMPFLAGSBOUND * NBIGBND * NBIGSM]) (&(workbc_inta[-1][0][0]));
38 #endif
39 
40 
41 }
42