CHROMA
conjgauge.cc
Go to the documentation of this file.
1 /*! \file
2  * \brief Take the complex conjugate of a gauge field
3  */
4 
5 #include "chromabase.h"
6 
7 namespace Chroma
8 {
9 
10  //! Take complex conjugate of gauge field u
11  /*!
12  * \ingroup gauge
13  *
14  * Arguments:
15  *
16  * \param u Gauge field (Modify)
17  * \param g Gauge transformation matrices (Write)
18  */
19 
20  void conjgauge(multi1d<LatticeColorMatrix>& u)
21  {
22  START_CODE();
23 
24 
25  for(int mu = 0; mu < Nd; ++mu)
26  {
27  LatticeColorMatrix u_tmp = conj(u[mu]);
28  u[mu] = u_tmp;
29  }
30 
31  END_CODE();
32  }
33 }
Primary include file for CHROMA library code.
int mu
Definition: cool.cc:24
void conjgauge(multi1d< LatticeColorMatrix > &u)
Take complex conjugate of gauge field u.
Definition: conjgauge.cc:20
Nd
Definition: meslate.cc:74
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
static multi1d< LatticeColorMatrix > u
START_CODE()