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

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 (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.


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