fermi_propagator Class Reference

a Wilson/Clover quark propagator (all 12 components) More...

#include <fermiqcd_fermi_propagator.h>

Inheritance diagram for fermi_propagator:
mdp_complex_field mdp_field< mdp_complex >

List of all members.

Public Member Functions

 fermi_propagator ()
 fermi_propagator (mdp_lattice &mylattice, int nc_, int nspin_=4)
void allocate_fermi_propagator (mdp_lattice &mylattice, int nc_, int nspin_=4)
mdp_matrix operator() (site x, int a, int b)
mdp_complexoperator() (site x, int a, int b, int i, int j)

Public Attributes

int nspin
int nc


void generate (fermi_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)(fermi_field &, gauge_field &, coefficients &)=0, coefficients smear_coeff=coefficients(), int comp=0)

Detailed Description

a Wilson/Clover quark propagator (all 12 components)

Example of how to make a pion:

/// gauge_field U(lattice,nc);
/// U.load("myfield");
/// fermi_propagator S(lattice,nc);
/// coefficients quark;
/// quark["kappa"]=1.12;
/// generate(S,U,quark);
/// vector<float> sum(U.lattice.size(TIME));
/// forallsites(x) 
///   for(int alpha=0; alpha<4; alpha++)
///     for(int beta=0; beta<4; beta++)
///        sum(x(0))+=real(trace(S(x,alpha,beta)*
///                   hermitian(S(x,beta,alpha))));

Note that S(x,alpha,beta,i,j) is $ \left<0|\bar q^i_\alpha(x), q^j_\beta(0)|\right> $

Constructor & Destructor Documentation

fermi_propagator::fermi_propagator (  )  [inline]
fermi_propagator::fermi_propagator ( mdp_lattice mylattice,
int  nc_,
int  nspin_ = 4 
) [inline]

Member Function Documentation

void fermi_propagator::allocate_fermi_propagator ( mdp_lattice mylattice,
int  nc_,
int  nspin_ = 4 
) [inline]
mdp_complex& fermi_propagator::operator() ( site  x,
int  a,
int  b,
int  i,
int  j 
) [inline]
mdp_matrix fermi_propagator::operator() ( site  x,
int  a,
int  b 
) [inline]

Friends And Related Function Documentation

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

makes the quark propagator

S the output propagator
U the input gauge configuration
coeff the parameters to be passed to the action
absolute_precision the target absolute precision for inversion
relative_precision the target relative precision for invcersion
max_steps the max number of steps in inversion
smf pointer to smearing function (smear sources)
smear_coeff parameters for smearing

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