# fermi_field Class Reference

wilson fermionic field More...

`#include <fermiqcd_fermi_field.h>`

Inheritance diagram for fermi_field:

List of all members.

## Public Member Functions

fermi_field ()
fermi_field (mdp_lattice &a, int nc_, int nspin_=4)
void allocate_fermi_field (mdp_lattice &a, int nc_, int nspin_=4)
fermi_field (const fermi_field &chi)
void operator= (const fermi_field &chi)
mdp_matrix operator() (site x)
mdp_matrix operator() (site x, int a)
mdp_complexoperator() (site x, int a, int i)
const mdp_complexoperator() (site x, int a, int i) const
void operator= (mdp_complex a)

int nspin
int nc

## Detailed Description

wilson fermionic field

Example:

```/// fermi_field psi(lattice,nc);
/// mdp_site x(lattice);
/// forallsites(x)
///    for(int spin=0; spin<4; spin++)
///      for(int i=0; i<nc; i++)
///        psi(x,spin,i)=0.0+0.0*I;
/// ```

## Constructor & Destructor Documentation

 fermi_field::fermi_field ( ) ` [inline]`
 fermi_field::fermi_field ( mdp_lattice & a, int nc_, int nspin_ = `4` ) ` [inline]`
 fermi_field::fermi_field ( const fermi_field & chi ) ` [inline]`

## Member Function Documentation

 void fermi_field::allocate_fermi_field ( mdp_lattice & a, int nc_, int nspin_ = `4` ) ` [inline]`
 const mdp_complex& fermi_field::operator() ( site x, int a, int i ) const` [inline]`
 mdp_complex& fermi_field::operator() ( site x, int a, int i ) ` [inline]`
 mdp_matrix fermi_field::operator() ( site x, int a ) ` [inline]`
 mdp_matrix fermi_field::operator() ( site x ) ` [inline]`
 void fermi_field::operator= ( mdp_complex a ) ` [inline]`

Reimplemented from mdp_field< mdp_complex >.

 void fermi_field::operator= ( const fermi_field & chi ) ` [inline]`

Reimplemented from mdp_complex_field.

## Member Data Documentation

 int fermi_field::nc

The documentation for this class was generated from the following file:

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