11 MIT_ssef_DWF_Fermion* SSEDWFSolverF::loadFermionRHS(
const void* OuterFermion)
const {
15 MIT_ssef_DWF_Fermion* SSEDWFSolverF::loadFermionGuess(
const void *OuterFermion)
const {
19 MIT_ssef_DWF_Fermion* SSEDWFSolverF::allocateFermion(
void)
const {
20 return MIT_ssef_DWF_allocate_fermion();
23 void SSEDWFSolverF::saveFermionSolver(
void *OuterFermion,
24 MIT_ssef_DWF_Fermion* CGFermion)
const {
28 void SSEDWFSolverF::saveFermionOperator(
void *OuterFermion,
29 MIT_ssef_DWF_Fermion* CGFermion)
const {
33 void SSEDWFSolverF::deleteFermion(MIT_ssef_DWF_Fermion* ptr)
const {
34 MIT_ssef_DWF_delete_fermion(ptr);
38 int SSEDWFSolverF::cgInternal(MIT_ssef_DWF_Fermion *
psi,
43 const MIT_ssef_DWF_Fermion *x0,
44 const MIT_ssef_DWF_Fermion *
eta,
49 QDPIO::cout <<
"Entering MIT_ssef_DWF_cg_solver" << std::endl;
50 return MIT_ssef_DWF_cg_solver(
psi, out_eps, out_iter, g, M, m_f,
51 x0,
eta,
eps, min_iter, max_iter);
54 void SSEDWFSolverF::loadGauge(
const void *
u,
59 void SSEDWFSolverF::deleteGauge(
void) {
60 MIT_ssef_DWF_delete_gauge(g);
66 void *(*allocator)(
size_t size),
67 void (*deallocator)(
void *)) {
68 return MIT_ssef_DWF_init(lattice, allocator, deallocator);
72 void SSEDWFSolverF::fini(
void) {
Base class for AVP's SSEF-DWF solver interface.
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