gauge_field Class Reference
the gauge field for any SU(n)
More...
#include <fermiqcd_gauge_field.h>
List of all members.
Public Member Functions |
| gauge_field () |
| 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< mdp_int > | 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
and it is a color matrix in SU(nc).
is the lattice spacing.
Constructor & Destructor Documentation
gauge_field::gauge_field |
( |
|
) |
[inline] |
gauge_field::gauge_field |
( |
const gauge_field & |
U |
) |
[inline] |
gauge_field::gauge_field |
( |
mdp_lattice & |
a, |
|
|
int |
nc_ | |
|
) |
| | [inline] |
Member Function Documentation
void gauge_field::allocate_gauge_field |
( |
mdp_lattice & |
a, |
|
|
int |
nc_ | |
|
) |
| | [inline] |
const mdp_complex gauge_field::operator() |
( |
site |
x, |
|
|
int |
sign, |
|
|
int |
mu, |
|
|
int |
i, |
|
|
int |
j | |
|
) |
| | const [inline] |
const mdp_matrix gauge_field::operator() |
( |
site |
x, |
|
|
int |
sign, |
|
|
int |
mu | |
|
) |
| | const [inline] |
mdp_matrix gauge_field::operator() |
( |
site |
x, |
|
|
int |
sign, |
|
|
int |
mu | |
|
) |
| | [inline] |
const mdp_complex& gauge_field::operator() |
( |
site |
x, |
|
|
int |
mu, |
|
|
int |
i, |
|
|
int |
j | |
|
) |
| | const [inline] |
mdp_complex& gauge_field::operator() |
( |
site |
x, |
|
|
int |
mu, |
|
|
int |
i, |
|
|
int |
j | |
|
) |
| | [inline] |
const mdp_matrix gauge_field::operator() |
( |
site |
x, |
|
|
int |
mu | |
|
) |
| | const [inline] |
mdp_matrix gauge_field::operator() |
( |
site |
x, |
|
|
int |
mu | |
|
) |
| | [inline] |
void gauge_field::operator= |
( |
const gauge_field & |
U |
) |
[inline] |
Member Data Documentation
The documentation for this class was generated from the following file: