7 #include <dwf-bluelightf.h>
28 return MIT_bluelightf_DWF_allocate_fermion();
32 MIT_bluelightf_DWF_Fermion* CGFermion)
const {
37 MIT_bluelightf_DWF_Fermion* CGFermion)
const {
42 MIT_bluelightf_DWF_delete_fermion(ptr);
51 const MIT_bluelightf_DWF_Fermion *x0,
52 const MIT_bluelightf_DWF_Fermion *
eta,
57 QDPIO::cout <<
"Entering MIT_bluelightf_DWF_cg_solver" << std::endl;
58 return MIT_bluelightf_DWF_cg_solver(
psi, out_eps, out_iter,
g, M, m_f,
59 x0,
eta,
eps, min_iter, max_iter);
68 MIT_bluelightf_DWF_delete_gauge(
g);
74 void *(*allocator)(
size_t size),
75 void (*deallocator)(
void *)) {
76 return MIT_bluelightf_DWF_init(lattice, allocator, deallocator);
81 MIT_bluelightf_DWF_fini();
DWF/Bluegene single-prec solver.
void saveFermionOperator(void *OuterFermion, MIT_bluelightf_DWF_Fermion *CGFermion) const
void deleteFermion(MIT_bluelightf_DWF_Fermion *ptr) const
int init(const int lattice[5], void *(*allocator)(size_t size), void(*deallocator)(void *))
void saveFermionSolver(void *OuterFermion, MIT_bluelightf_DWF_Fermion *CGFermion) const
void loadGauge(const void *u, const void *v)
MIT_bluelightf_DWF_Fermion * loadFermionGuess(const void *OuterFermion) const
MIT_bluelightf_DWF_Fermion * loadFermionRHS(const void *OuterFermion) const
MIT_bluelightf_DWF_Gauge * g
MIT_bluelightf_DWF_Fermion * allocateFermion(void) const
int cgInternal(MIT_bluelightf_DWF_Fermion *psi, double *out_eps, int *out_iter, double M, double m_f, const MIT_bluelightf_DWF_Fermion *x0, const MIT_bluelightf_DWF_Fermion *eta, double eps, int min_iter, int max_iter) const
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