QUDA
1.0.0
include
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
node_number
int node_number(const int x[])
Definition:
layout_hyper.c:214
this_node
int this_node
Definition:
qio_field.cpp:9
node_index
int node_index(const int x[])
Definition:
layout_hyper.c:224
num_sites
int num_sites(int node)
Definition:
layout_hyper.c:292
index
static int index(int ndim, const int *dims, const int *x)
Definition:
comm_common.cpp:32
get_coords
void get_coords(int x[], int node, int index)
Definition:
layout_hyper.c:241
setup_layout
int setup_layout(int len[], int nd, int numnodes)
Definition:
layout_hyper.c:150
Generated by
1.8.13