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

MinRes Class Reference

the minimum residure inverter More...

#include <fermiqcd_minres_inverter.h>

List of all members.

Static Public Member Functions

template<class fieldT, class fieldG>
static inversion_stats inverter (fieldT &psi_out, fieldT &psi_in, fieldG &U, coefficients &coeff, mdp_real absolute_precision=mdp_precision, mdp_real relative_precision=0, int max_steps=2000)


Detailed Description

the minimum residure inverter

It inverts mul_Q(psi_out,psi_in,U,coeff) iteratively

Parameters:
psi_out the output field passed by reference
psi_in the input field passed by reference
U the gauge field to be passed to mul_Q
coeff the gauge parameters to be passed to mul_Q
absolute_precision the target absolute precision
relative_precision the target relative precision
max_steps the maximum number of steps
Example:
    gauge_field U(lattice,nc);
    fermi_field psi(lattice,nc);
    fermi_field chi(lattice,nc);
    coefficinets coeff;
    coeff["kappa"]=1.12;
    U.load("myfield");
    psi.load("myfield_psi");
    default_fermi_inverter=MinRes::inverter<fermi_field,gauge_field>;
    default_fermi_action=FermiCloverActionSlow::mul_Q;
    mul_invQ(chi,psi,U,coeff);
    chi.save("myfield_chi");
    
Note that mul_invQ(chi,psi,U,coeff) reads $ \chi=(/\!\!\!D[U]+m)^{-1}\psi $


The documentation for this class was generated from the following file:
Generated on Sun Feb 27 15:12:26 2005 by  doxygen 1.4.1