1 #ifndef BICGSTAB_KERNELS_NAIVE_H
2 #define BICGSTAB_KERNELS_NAIVE_H
11 namespace BiCGStabKernels {
22 template<
typename T,
typename C>
37 template<
typename T,
typename C>
45 template<
typename T,
typename C>
54 template<
typename T,
typename C>
62 template<
typename T,
typename C>
65 const T&
u,
const T&
q,
67 const C& alpha_rat_beta,
74 tmp[
s] = alpha_rat_beta*
z;
76 z[
s] -= alpha_delta*v;
83 template<
typename T,
typename C,
typename F>
111 rnorm = norm2(
r,sub);
114 template<
typename T,
typename C>
Primary include file for CHROMA library code.
SpinMatrix C()
C = Gamma(10)
void xpaypbz(T &x, T &y, T &z, C &a, C &b, const Subset &s)
void xmay_normx_cdotzx(T &x, const T &y, const T &z, C &a, Double &normx, DComplex &cdotzx, const Subset &s)
void xymz_normx(T &x, const T &y, const T &z, Double &x_norm, const Subset &s)
void norm2x_cdotxy(const T &x, const T &y, Double &norm2x, DComplex &cdotxy, const Subset &s)
void cxmay(T &x, const T &y, const C &a, const Subset &s)
void yxpaymabz(T &x, T &y, T &z, const C &a, const C &b, const Subset &s)
void ibicgstab_rxupdate(const C &omega, const T &s, const T &t, const T &z, T &r, T &x, const Subset &sub)
void ibicgstab_zvupdates(const T &r, T &z, T &v, const T &u, const T &q, const C &alpha, const C &alpha_rat_beta, const C &alpha_delta, const C &beta, const C &delta, const Subset &s)
void ibicgstab_stupdates_reduces(const C &alpha, const T &r, const T &u, const T &v, const T &q, const T &r0, const T &f0, T &s, T &t, C &phi, C &pi, C &gamma, C &eta, C &theta, F &kappa, F &rnorm, const Subset &sub)
BinaryReturn< C1, C2, FnInnerProduct >::Type_t innerProduct(const QDPSubType< T1, C1 > &s1, const QDPType< T2, C2 > &s2)
static const LatticeInteger & beta(const int dim)
static const LatticeInteger & alpha(const int dim)
Asqtad Staggered-Dirac operator.
static multi1d< LatticeColorMatrix > u
LinOpSysSolverMGProtoClover::T T
multi1d< LatticeFermion > s(Ncb)
FloatingPoint< double > Double
static INTERNAL_PRECISION F