15 namespace FixedRandomFermMonomial4DEnv
54 std::istringstream is(
p.fermstate.xml );
55 QDPIO::cout <<
"FermStateXML is: " <<
p.fermstate.xml << std::endl;
60 multi1d<LatticeColorMatrix>,
72 multi1d<LatticeColorMatrix>,
73 multi1d<LatticeColorMatrix> >
74 >
state = (*cfs)(
s.getQ());
83 push(xml_out,
"FixedRandomFermMonomial4D");
85 write(xml_out,
"F_sq", F_sq);
96 push(xml_out,
"FixedRandomFermMonomial4D");
99 multi1d<LatticeColorMatrix>,
100 multi1d<LatticeColorMatrix> >
101 >
state = (*cfs)(
s.getQ());
102 const Q&
u =
state->getLinks();
106 ret_val +=
sum(real(trace(
u[
mu]*
X[
mu])));
109 write(xml_out,
"S", ret_val);
Primary include file for CHROMA library code.
Create a stout ferm connection state.
Double S(const AbsFieldState< P, Q > &s)
Compute the total action.
multi1d< LatticeColorMatrix > Q
void dsdq(P &F, const AbsFieldState< P, Q > &s)
Compute dsdq for the system... Not specified how to actually do this.
Handle< CreateStoutFermState< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > > cfs
multi1d< LatticeColorMatrix > X
multi1d< LatticeColorMatrix > P
FixedRandomFermMonomial4D(const FixedRandomFermMonomialParams &p_)
Class for counted reference semantics.
An abstract monomial class, for inexact algorithms.
Fermion boundary conditions.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams ¶m)
Writer parameters.
Handle< FermBC< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > > reader(XMLReader &xml_in, const std::string &path)
Helper function for the FermionAction readers.
const std::string name("FIXED_RANDOM_X_FERM_MONOMIAL")
bool registerAll()
Register all the factories.
static bool registered
Local registration flag.
Monomial< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > * createMonomial(XMLReader &xml, const std::string &path)
Callback function for the factory.
Asqtad Staggered-Dirac operator.
static multi1d< LatticeColorMatrix > u
push(xml_out,"Condensates")
void reunit(LatticeColorMatrixF3 &xa)
const WilsonTypeFermAct< multi1d< LatticeFermion > > Handle< const ConnectState > state
multi1d< LatticeFermion > s(Ncb)
FloatingPoint< double > Double
Stout field state for stout links and a creator.
static INTERNAL_PRECISION F