#include <fermiqcd_gauge_field.h>
Inheritance diagram for gauge_field:

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_complex & | operator() (site x, int mu, int i, int j) |
| const mdp_complex & | operator() (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 |
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");
and it is a color matrix in SU(nc).
is the lattice spacing.
1.4.1