QUDA
v0.7.0
A library for QCD on GPUs
|
#include <invert_quda.h>
Public Member Functions | |
MinResExt (DiracMatrix &mat, TimeProfile &profile) | |
virtual | ~MinResExt () |
void | operator() (cudaColorSpinorField &x, cudaColorSpinorField &b, cudaColorSpinorField **p, cudaColorSpinorField **q, int N) |
Protected Attributes | |
const DiracMatrix & | mat |
TimeProfile & | profile |
This computes the optimum guess for the system Ax=b in the L2 residual norm. For use in the HMD force calculations using a minimal residual chronological method This computes the guess solution as a linear combination of a given number of previous solutions. Following Brower et al, only the orthogonalised vector basis is stored to conserve memory.
Definition at line 508 of file invert_quda.h.
quda::MinResExt::MinResExt | ( | DiracMatrix & | mat, |
TimeProfile & | profile | ||
) |
Definition at line 6 of file inv_mre.cpp.
|
virtual |
Definition at line 11 of file inv_mre.cpp.
void quda::MinResExt::operator() | ( | cudaColorSpinorField & | x, |
cudaColorSpinorField & | b, | ||
cudaColorSpinorField ** | p, | ||
cudaColorSpinorField ** | q, | ||
int | N | ||
) |
param x The optimum for the solution vector. param b The source vector in the equation to be solved. This is not preserved. param p The basis vectors in which we are building the guess param q The basis vectors multipled by A param N The number of basis vectors return The residue of this guess.
Definition at line 15 of file inv_mre.cpp.
|
protected |
Definition at line 511 of file invert_quda.h.
|
protected |
Definition at line 512 of file invert_quda.h.