em_field Class Reference

the chromo-electr-magnetic field for any SU(n) More...

#include <fermiqcd_gauge_field.h>

Inheritance diagram for em_field:
mdp_complex_field mdp_field< mdp_complex >

List of all members.

Public Member Functions

 em_field ()
 em_field (mdp_lattice &a, int nc_)
 em_field (em_field &em)
void allocate_em_field (mdp_lattice &a, int nc_)
int ordered_index (int mu, int nu) const
mdp_matrix operator() (site x, int mu, int nu)
mdp_complexoperator() (site x, int mu, int nu, int i, int j)
const mdp_complexoperator() (site x, int mu, int nu, int i, int j) const

Public Attributes

int ndim
int nc
int nem

Detailed Description

the chromo-electr-magnetic 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);
///    U.load("myfield");
///    compute_em_field(U);
///    forallsites(x)
///      for(int mu=0; mu<U.ndim; mu++)
///        for(int nu=mu+1; nu<U.ndim; nu++)
///          cout << U.em(x,mu,nu) << endl;
/// 

Note that U.em(x,mu,nu) is $ a^2 G_{\mu\nu} $ and it is a color matrix in SU(nc). $a$ is the lattice spacing.


Constructor & Destructor Documentation

em_field::em_field (  )  [inline]
em_field::em_field ( mdp_lattice a,
int  nc_ 
) [inline]
em_field::em_field ( em_field em  )  [inline]

Member Function Documentation

void em_field::allocate_em_field ( mdp_lattice a,
int  nc_ 
) [inline]
const mdp_complex& em_field::operator() ( site  x,
int  mu,
int  nu,
int  i,
int  j 
) const [inline]
mdp_complex& em_field::operator() ( site  x,
int  mu,
int  nu,
int  i,
int  j 
) [inline]
mdp_matrix em_field::operator() ( site  x,
int  mu,
int  nu 
) [inline]
int em_field::ordered_index ( int  mu,
int  nu 
) const [inline]

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines

Generated on Wed Dec 23 14:03:15 2009 for fermiqcd by  doxygen 1.6.1