HiRep 0.1
Loading...
Searching...
No Matches
geometry_init.h
Go to the documentation of this file.
1
11
12#ifndef GEOMETRY_INIT_H
13#define GEOMETRY_INIT_H
14
15#include "new_geometry.h"
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21// geometry_init.c
22void origin_coord(int *c);
23void other_proc_origin_coord(int *proc_coord, int *c);
24void glb_to_proc(int *g, int *p);
25int proc_up(int id, int dir);
26int proc_dn(int id, int dir);
27int proc_id(int coords[4]);
28void MPI_cart_to_glob_id(int *cid, int *pid);
29int geometry_init(void);
30void print_gd(geometry_descriptor *gd);
31
32// geometry_SAP.c
33void init_geometry_SAP(void);
34void empty_buffers(spinor_field *s); //in SAP
35
36//print_wdmatrix.c
37#ifdef WITH_UNTESTED
38void print_wdmatrix(char *filename);
39#endif
40
41// geometry_mpi_eo.c
42void geometry_mpi_eo(void);
43void geometry_mem_alloc(void);
44void test_geometry_mpi(void);
45void test_geometry_mpi_eo(void);
46void free_geometry_mpi_eo(void);
47
48#ifdef __cplusplus
49}
50#endif
51#endif
void origin_coord(int *c)
Definition geometry_init.c:125
Functions needed for the new geometry implementation that will replace the current geometry in the fu...
This struct should contain all information necessary to perform operations on the local lattice inclu...
Definition geometry_descriptor.h:106
Spinor field array containing SU(N_f) spinors in chosen fermion representation.
Definition spinor_field.h:189