staggered_propagator Class Reference

staggared quark propagator More...

#include <fermiqcd_staggered_propagator.h>

Inheritance diagram for staggered_propagator:
mdp_field< mdp_complex >

List of all members.

Public Member Functions

 staggered_propagator (mdp_lattice &mylattice, int nc_)
mdp_matrix operator() (site x, int a)
mdp_complexoperator() (site x, int a, int i, int j)

Public Attributes

int nc

Friends

void generate (staggered_propagator &S, gauge_field &U, coefficients &coeff, mdp_real absolute_precision=fermi_inversion_precision, mdp_real relative_precision=0, int max_steps=2000, void(*smf)(staggered_field &, gauge_field &)=0, int comp=0)

Detailed Description

staggared quark propagator

On a (2n) dimensional lattice this makes 3*(2^n) sources at the vertices of the hypercube at the origin of the lattice and inverts the Staggered/Asqtad action on them.

Example:

/// mdp_gauge U(lattice,nc);
/// staggered_propagator S(lattice,nc);
/// mdp_site x(lattice);
/// mdp_site y(lattice);
/// coefficients coeff;
/// coeff["mass"]=1.0;
/// generate(S,U,coeff);
/// for(int i=0; i<(int) pow(2,lattice.ndim); i++) {
///    x=binary2versor(a);
///    cout << "source at:" << x << "\nprop:\n"; 
///    forallsites(y) cout << S(x,a) << endl;
/// }
/// 

Constructor & Destructor Documentation

staggered_propagator::staggered_propagator ( mdp_lattice mylattice,
int  nc_ 
) [inline]

Member Function Documentation

mdp_complex& staggered_propagator::operator() ( site  x,
int  a,
int  i,
int  j 
) [inline]
mdp_matrix staggered_propagator::operator() ( site  x,
int  a 
) [inline]

Friends And Related Function Documentation

void generate ( staggered_propagator S,
gauge_field U,
coefficients coeff,
mdp_real  absolute_precision = fermi_inversion_precision,
mdp_real  relative_precision = 0,
int  max_steps = 2000,
void(*)(staggered_field &, gauge_field &)  smf = 0,
int  comp = 0 
) [friend]

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:18 2009 for fermiqcd by  doxygen 1.6.1