QUDA  1.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
pgauge_monte.h
Go to the documentation of this file.
1 #ifndef _MONTE_H
2 #define _MONTE_H
3 
4 
5 
6 #include <random_quda.h>
7 #include <quda.h>
8 
9 
10 
11 namespace quda {
12 
13 
22  void Monte( cudaGaugeField& data, RNG &rngstate, double Beta, int nhb, int nover);
23 
28  void InitGaugeField( cudaGaugeField& data);
29 
35  void InitGaugeField( cudaGaugeField& data, RNG &rngstate);
36 
45  void PGaugeExchange( cudaGaugeField& data, const int dir, const int parity);
46  /*Exchange "borders" between nodes
47  int R[4] = {0,0,0,0};
48  for(int dir=0; dir<4; ++dir) if(comm_dim_partitioned(dir)) R[dir] = 2;
49  Although the radius border is 2, it only updates the interior radius border, i.e., at 1 and X[d-2]
50  where X[d] already includes the Radius border, and don't update at 0 and X[d-1] faces */
51 
52 
56  void PGaugeExchangeFree();
57 
58 
59 
65  double2 getLinkDeterminant( cudaGaugeField& data);
66 
72  double2 getLinkTrace( cudaGaugeField& data);
73 
74 }
75 
76 #endif
double2 getLinkDeterminant(cudaGaugeField &data)
Calculate the Determinant.
void PGaugeExchange(cudaGaugeField &data, const int dir, const int parity)
Perform heatbath and overrelaxation. Performs nhb heatbath steps followed by nover overrelaxation ste...
void PGaugeExchangeFree()
Release all allocated memory used to exchange data between nodes.
double2 getLinkTrace(cudaGaugeField &data)
Calculate the Trace.
void InitGaugeField(cudaGaugeField &data)
Perform a cold start to the gauge field, identity SU(3) matrix, also fills the ghost links in multi-G...
Main header file for the QUDA library.
void Monte(cudaGaugeField &data, RNG &rngstate, double Beta, int nhb, int nover)
Perform heatbath and overrelaxation. Performs nhb heatbath steps followed by nover overrelaxation ste...
QudaParity parity
Definition: covdev_test.cpp:54