12 namespace LatColMat4MN4FPRecursiveIntegratorEnv
17 multi1d<LatticeColorMatrix> >*
50 XMLReader paramtop(xml_in, path);
52 rho = Real(0.1786178958448091);
53 theta = Real(-0.06626458266981843);
54 lambda = Real(0.7123418310626056);
61 if ( paramtop.count(
"./theta") > 0 ) {
64 if ( paramtop.count(
"./rho") > 0 ) {
67 if ( paramtop.count(
"./lambda") > 0 ) {
71 if( paramtop.count(
"./SubIntegrator") == 0 ) {
75 XMLBufferWriter subintegrator_writer;
78 push(subintegrator_writer,
"SubIntegrator");
79 write(subintegrator_writer,
"Name",
"LCM_EXP_T");
80 write(subintegrator_writer,
"n_steps", one_sub_step);
82 pop(subintegrator_writer);
91 XMLReader subint_reader(paramtop,
"./SubIntegrator");
93 std::ostringstream subintegrator_os;
95 subint_reader.print(subintegrator_os);
97 QDPIO::cout <<
"Subintegrator XML is: " << std::endl;
102 QDPIO::cout <<
"Error reading XML in LatColMat4MN4FPRecursiveIntegratorParams " << e << std::endl;
118 write(xml,
"n_steps",
p.n_steps);
119 write(xml,
"monomial_ids",
p.monomial_ids);
120 write(xml,
"theta",
p.theta);
122 write(xml,
"lambda",
p.lambda);
124 xml <<
p.subintegrator_xml;
132 multi1d<LatticeColorMatrix> >&
s,
133 const Real& traj_length)
const
154 Real one_minus_two_lambda_dtau_by2 = (Real(1)-Real(2)*
params.
lambda)*dtau/Real(2);
158 Real two_rho_dtau= Real(2)*rho_dtau;
165 subIntegrator(
s, rho_dtau);
166 expSdt(
s, lambda_dtau);
167 subIntegrator(
s, theta_dtau);
168 expSdt(
s, one_minus_two_lambda_dtau_by2 );
169 subIntegrator(
s, one_minus_two_theta_plus_rho_dtau);
170 expSdt(
s, one_minus_two_lambda_dtau_by2 );
171 subIntegrator(
s, theta_dtau);
172 expSdt(
s, lambda_dtau);
175 subIntegrator(
s, two_rho_dtau);
176 expSdt(
s, lambda_dtau);
177 subIntegrator(
s, theta_dtau);
178 expSdt(
s, one_minus_two_lambda_dtau_by2 );
179 subIntegrator(
s, one_minus_two_theta_plus_rho_dtau);
180 expSdt(
s, one_minus_two_lambda_dtau_by2 );
181 subIntegrator(
s, theta_dtau);
182 expSdt(
s, lambda_dtau);
186 subIntegrator(
s, rho_dtau);
Primary include file for CHROMA library code.
MD integrator that can be used as a component for other integrators.
MD integrator interface for 4th order 4 Force Min. Norm. Integrator (position variant)
multi1d< IntegratorShared::MonomialPair > monomials
AbsComponentIntegrator< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > & getSubIntegrator() const
Return the next level down integrator.
void operator()(AbsFieldState< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > &s, const Real &traj_length) const
Do an integration of lenght n*delta tau in n steps.
LatColMat4MN4FPRecursiveIntegratorParams params
MD integrator interface for PQP leapfrog.
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.
Lat Col Mat 4th order 4 force calculation minimum norm integrator.
static bool registered
Local registration flag.
bool registerAll()
Register all the factories.
Asqtad Staggered-Dirac operator.
push(xml_out,"Condensates")
multi1d< LatticeFermion > s(Ncb)
LatColMat4MN4FPRecursiveIntegratorParams()
std::string subintegrator_xml
multi1d< std::string > monomial_ids
Singleton instances of xml output.