QUDA  1.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Functions | Variables
layout_hyper.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int setup_layout (int len[], int nd, int numnodes)
 
int node_number (const int x[])
 
int node_index (const int x[])
 
void get_coords (int x[], int node, int index)
 
int num_sites (int node)
 

Variables

int this_node
 

Function Documentation

◆ get_coords()

void get_coords ( int  x[],
int  node,
int  index 
)

Definition at line 241 of file layout_hyper.c.

References index(), ndim, node_index(), quda::s, size1, size2, squaresize, and this_node.

Referenced by set_layout().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ node_index()

int node_index ( const int  x[])

Definition at line 224 of file layout_hyper.c.

References ndim, sites_on_node, and squaresize.

Referenced by get_coords(), set_layout(), and vset_M().

Here is the caller graph for this function:

◆ node_number()

int node_number ( const int  x[])

Definition at line 214 of file layout_hyper.c.

References mcoord, ndim, and squaresize.

Referenced by set_layout(), and vset_M().

Here is the caller graph for this function:

◆ num_sites()

int num_sites ( int  node)

Definition at line 292 of file layout_hyper.c.

References sites_on_node.

Referenced by set_layout(), vcompare_M(), and vcreate_M().

Here is the caller graph for this function:

◆ setup_layout()

int setup_layout ( int  len[],
int  nd,
int  numnodes 
)

Definition at line 150 of file layout_hyper.c.

References mcoord, ndim, nsquares, setup_hyper_prime(), setup_qmp_fixed(), setup_qmp_grid(), sites_on_node, size1, size2, and squaresize.

Referenced by set_layout().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ this_node

int this_node