8 #ifndef abs_hamiltonian_h
9 #define abs_hamiltonian_h
26 template<
typename P,
typename Q>
45 push(xml_out,
"mesE");
61 push(xml_out,
"mesKE");
67 write(xml_out,
"KE", KE);
Monomials - gauge action or fermion binlinear contributions for HMC.
Primary include file for CHROMA library code.
New Abstract Hamiltonian.
virtual Double mesKE(const AbsFieldState< P, Q > &s) const
The Kinetic Energy.
virtual ~AbsHamiltonian()
virtual descructor:
virtual void mesE(const AbsFieldState< P, Q > &s, Double &KE, Double &PE) const
virtual Double mesPE(const AbsFieldState< P, Q > &s) const =0
The Potential Energy.
virtual void refreshInternalFields(const AbsFieldState< P, Q > &s)=0
Refresh pseudofermsions (if any)
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams ¶m)
Writer parameters.
Asqtad Staggered-Dirac operator.
push(xml_out,"Condensates")
multi1d< LatticeFermion > s(Ncb)
FloatingPoint< double > Double
Singleton instances of xml output.