7 #include <dwf-bluelightd.h>
21 MIT_bluelightd_DWF_Fermion* BGLDWFSolverD::loadFermionRHS(
const void* OuterFermion)
const {
25 MIT_bluelightd_DWF_Fermion* BGLDWFSolverD::loadFermionGuess(
const void *OuterFermion)
const {
29 MIT_bluelightd_DWF_Fermion* BGLDWFSolverD::allocateFermion(
void)
const {
30 return MIT_bluelightd_DWF_allocate_fermion();
33 void BGLDWFSolverD::saveFermionSolver(
void *OuterFermion,
34 MIT_bluelightd_DWF_Fermion* CGFermion)
const {
38 void BGLDWFSolverD::saveFermionOperator(
void *OuterFermion,
39 MIT_bluelightd_DWF_Fermion* CGFermion)
const {
43 void BGLDWFSolverD::deleteFermion(MIT_bluelightd_DWF_Fermion* ptr)
const {
44 MIT_bluelightd_DWF_delete_fermion(ptr);
48 int BGLDWFSolverD::cgInternal(MIT_bluelightd_DWF_Fermion *
psi,
53 const MIT_bluelightd_DWF_Fermion *x0,
54 const MIT_bluelightd_DWF_Fermion *
eta,
59 QDPIO::cout <<
"Entering MIT_bluelightd_DWF_cg_solver" << std::endl;
60 return MIT_bluelightd_DWF_cg_solver(
psi, out_eps, out_iter, g, M, m_f,
61 x0,
eta,
eps, min_iter, max_iter);
64 void BGLDWFSolverD::loadGauge(
const void *
u,
69 void BGLDWFSolverD::deleteGauge(
void) {
70 MIT_bluelightd_DWF_delete_gauge(g);
76 void *(*allocator)(
size_t size),
77 void (*deallocator)(
void *)) {
78 return MIT_bluelightd_DWF_init(lattice, allocator, deallocator);
82 void BGLDWFSolverD::fini(
void) {
83 MIT_bluelightd_DWF_fini();
DWF/Bluegene double-prec solver.
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)
void init(MesonSpecData_t &data, XMLWriter &xml, const std::string &path, const std::string &id_tag, const Params ¶ms)
Do some initialization.
Asqtad Staggered-Dirac operator.
static multi1d< LatticeColorMatrix > u