Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

gauge_field Class Reference

the gauge field for any SU(n) More...

#include <fermiqcd_gauge_field.h>

Inheritance diagram for gauge_field:

mdp_complex_field mdp_field< mdp_complex > List of all members.

Public Member Functions

 gauge_field (const gauge_field &U)
void operator= (const gauge_field &U)
 gauge_field (mdp_lattice &a, int nc_)
void allocate_gauge_field (mdp_lattice &a, int nc_)
mdp_matrix operator() (site x, int mu)
const mdp_matrix operator() (site x, int mu) const
mdp_complexoperator() (site x, int mu, int i, int j)
const mdp_complexoperator() (site x, int mu, int i, int j) const
mdp_matrix operator() (site x, int sign, int mu)
const mdp_matrix operator() (site x, int sign, int mu) const
const mdp_complex operator() (site x, int sign, int mu, int i, int j) const

Public Attributes

em_field em
mdp_nmatrix_field long_links
mdp_field< long > i_jump
mdp_matrix_field swirls
int ndim
int nc

Detailed Description

the gauge field for any SU(n)

Example:

       int nc=3; 
       int box[]={10,8,8,8};
       mdp_lattice lattice(4,box);
       gauge_field U(lattice,nc);
       mdp_site x(lattice);
       // set_cold(U);
       forallsites(x)
          for(int mu=0; mu<U.ndim; mu++)
             U(x,mu)=1;
       U.update(); // synchronization
       U.save("myfield");
       U.load("myfield");
    
Note that U(x,mu) is $ \exp{iaA_{\mu}} $ and it is a color matrix in SU(nc). $a$ is the lattice spacing.


The documentation for this class was generated from the following file:
Generated on Sun Feb 27 15:12:24 2005 by  doxygen 1.4.1