7 #include <dwf-altivecf.h>
29 return MIT_altivecf_DWF_allocate_fermion();
33 MIT_altivecf_DWF_Fermion* CGFermion)
const {
38 MIT_altivecf_DWF_Fermion* CGFermion)
const {
43 MIT_altivecf_DWF_delete_fermion(ptr);
52 const MIT_altivecf_DWF_Fermion *x0,
53 const MIT_altivecf_DWF_Fermion *
eta,
58 QDPIO::cout <<
"Entering MIT_altivecf_DWF_cg_solver" << std::endl;
59 return MIT_altivecf_DWF_cg_solver(
psi, out_eps, out_iter,
g, M, m_f,
60 x0,
eta,
eps, min_iter, max_iter);
69 MIT_altivecf_DWF_delete_gauge(
g);
75 void *(*allocator)(
size_t size),
76 void (*deallocator)(
void *)) {
77 return MIT_altivecf_DWF_init(lattice, allocator, deallocator);
82 MIT_altivecf_DWF_fini();
DWF/Bluegene altivec solver.
int init(const int lattice[5], void *(*allocator)(size_t size), void(*deallocator)(void *))
MIT_altivecf_DWF_Fermion * allocateFermion(void) const
void saveFermionSolver(void *OuterFermion, MIT_altivecf_DWF_Fermion *CGFermion) const
MIT_altivecf_DWF_Fermion * loadFermionGuess(const void *OuterFermion) const
MIT_altivecf_DWF_Fermion * loadFermionRHS(const void *OuterFermion) const
void loadGauge(const void *u, const void *v)
void deleteFermion(MIT_altivecf_DWF_Fermion *ptr) const
void saveFermionOperator(void *OuterFermion, MIT_altivecf_DWF_Fermion *CGFermion) const
int cgInternal(MIT_altivecf_DWF_Fermion *psi, double *out_eps, int *out_iter, double M, double m_f, const MIT_altivecf_DWF_Fermion *x0, const MIT_altivecf_DWF_Fermion *eta, double eps, int min_iter, int max_iter) const
MIT_altivecf_DWF_Gauge * g
void fermionWriterOperator(void *OuterFermion, void *env, const int latt_coord[5], int color, int spin, int reim, double val)
double fermionReaderGuess(const void *OuterFermion, void *env, const int latt_coord[5], int color, int spin, int reim)
double gaugeReader(const void *OuterGauge, void *env, const int latt_coord[4], int mu, int row, int col, int reim)
double fermionReaderRHS(const void *OuterFermion, void *env, const int latt_coord[5], int color, int spin, int reim)
void fermionWriterSolver(void *OuterFermion, void *env, const int latt_coord[5], int color, int spin, int reim, double val)
Asqtad Staggered-Dirac operator.
static multi1d< LatticeColorMatrix > u