6 #ifndef __eoprec_logdet_even_even_monomial_h__
7 #define __eoprec_logdet_even_even_monomial_h__
24 template<
typename P,
typename Q,
typename Phi>
35 push(xml_out,
"EvenOddPrecLogDetEvenEvenMonomial");
46 lin->derivLogDetEvenEvenLinOp(
F,
PLUS);
68 push(xml_out,
"EvenOddPrecLogDetEvenEvenMonomial");
76 write(xml_out,
"S", S_ee);
86 multi1d<LatticeColorMatrix> >&
s) {
91 multi1d<LatticeColorMatrix> >&
m) {
102 namespace EvenOddPrecLogDetEvenEvenMonomial4DEnv
134 multi1d<LatticeColorMatrix>,
139 typedef LatticeFermion
T;
140 typedef multi1d<LatticeColorMatrix>
P;
141 typedef multi1d<LatticeColorMatrix>
Q;
Monomials - gauge action or fermion binlinear contributions for HMC.
A Monomial For Just the EvenEven part of EvenOddPrecLogDetWilsonTypeFermActs – concretely a 4D one.
multi1d< LatticeColorMatrix > P
multi1d< LatticeColorMatrix > Q
EvenOddPrecLogDetEvenEvenMonomial4D(const EvenOddPrecLogDetEvenEvenMonomialParams &p)
Construct from param struct.
Handle< EvenOddPrecLogDetWilsonTypeFermAct< T, P, Q > > fermact
int getNumFlavors() const
~EvenOddPrecLogDetEvenEvenMonomial4D()
Destructor is automagic.
EvenOddPrecLogDetEvenEvenMonomial4D(const EvenOddPrecLogDetEvenEvenMonomial4D &m)
Copy Constructor.
const EvenOddPrecLogDetWilsonTypeFermAct< T, P, Q > & getFermAct(void) const
A Monomial For Just the EvenEven part of EvenOddPrecLogDetWilsonTypeFermActs.
void dsdq(P &F, const AbsFieldState< P, Q > &s)
Compute dsdq for the system... Not specified how to actually do this.
Double S(const AbsFieldState< P, Q > &s)
Gauge action value.
virtual const EvenOddPrecLogDetWilsonTypeFermAct< Phi, P, Q > & getFermAct() const =0
virtual int getNumFlavors() const =0
void refreshInternalFields(const AbsFieldState< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > &s)
Refresh pseudofermion fields if any.
virtual ~EvenOddPrecLogDetEvenEvenMonomial()
void setInternalFields(const Monomial< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > &m)
Copy pseudofermions if any.
Even-odd preconditioned Wilson-like fermion action, specialised to clover like (gauge dependent diago...
virtual EvenOddPrecLogDetLinearOperator< T, P, Q > * linOp(Handle< FermState< T, P, Q > > state) const =0
Override to produce an even-odd prec. linear operator for this action.
Abstract monomial class, for exact algorithms.
virtual FermState< T, P, Q > * createState(const Q &q) const
Given links (coordinates Q) create the state needed for the linear operators.
Class for counted reference semantics.
An abstract monomial class, for inexact algorithms.
Even-odd const determinant Wilson-like fermact.
Helper function for calculating forces.
void read(XMLReader &xml, const std::string &path, AsqtadFermActParams ¶m)
Read parameters.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams ¶m)
Writer parameters.
void monitorForces(XMLWriter &xml_out, const std::string &path, const multi1d< LatticeColorMatrix > &F)
Calculate and write out forces.
bool registerAll()
Register all the factories.
Asqtad Staggered-Dirac operator.
push(xml_out,"Condensates")
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > state
static QDP_ColorVector * in
multi1d< LatticeFermion > s(Ncb)
FloatingPoint< double > Double
EvenOddPrecLogDetEvenEvenMonomialParams()
Hold group xml and type id.
multi1d< LatticeColorMatrix > P
Singleton instances of xml output.
static INTERNAL_PRECISION F