QUDA  1.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
layout_hyper.h
Go to the documentation of this file.
1 #ifndef LAYOUT_HYPER_H
2 #define LAYOUT_HYPER_H
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7  /* layout_hyper */
8  int setup_layout(int len[], int nd, int numnodes);
9  int node_number(const int x[]);
10  int node_index(const int x[]);
11  void get_coords(int x[], int node, int index);
12  int num_sites(int node);
13  extern int this_node;
14 
15 #ifdef __cplusplus
16 }
17 #endif
18 
19 #endif // LAYOUT_HYPER_H
int node_number(const int x[])
Definition: layout_hyper.c:214
int this_node
Definition: qio_field.cpp:9
int node_index(const int x[])
Definition: layout_hyper.c:224
int num_sites(int node)
Definition: layout_hyper.c:292
static int index(int ndim, const int *dims, const int *x)
Definition: comm_common.cpp:32
void get_coords(int x[], int node, int index)
Definition: layout_hyper.c:241
int setup_layout(int len[], int nd, int numnodes)
Definition: layout_hyper.c:150