1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-07-13 19:47:06 +01:00

2f Mixed precision DDHMC running and conserving hamiltonian

This commit is contained in:
Quadro
2021-05-27 17:10:04 -04:00
parent 2e4d4625b6
commit e4ff4c902a
6 changed files with 600 additions and 25 deletions

View File

@ -231,7 +231,7 @@ int main(int argc, char **argv)
RealD b = 1.0;
RealD c = 0.0;
std::vector<Real> hasenbusch({ 0.016, 0.04, 0.4 });
std::vector<Real> hasenbusch({ 0.04, 0.3 });
auto GridPtr = TheHMC.Resources.GetCartesian();
auto GridRBPtr = TheHMC.Resources.GetRBCartesian();
@ -342,11 +342,15 @@ int main(int argc, char **argv)
BoundaryNumerators.push_back (new SchurFactoredFermionOperator<DomainWallFermionR::Impl_t>
(*PeriNumerators[h],
*DirichletNumerators[h],
ActionCG,Block));
ActionCG,ActionCG,
ActionCG,ActionCG,
Block));
BoundaryDenominators.push_back (new SchurFactoredFermionOperator<DomainWallFermionR::Impl_t>
(*PeriDenominators[h],
*DirichletDenominators[h],
ActionCG,Block));
ActionCG,ActionCG,
ActionCG,ActionCG,
Block));
// Dirichlet Schur even odd MpsDagMpc operators on local domains
LinOpD.push_back(new LinearOperatorD(*DirichletDenominators[h]));
@ -385,8 +389,7 @@ int main(int argc, char **argv)
BoundaryQuotients.push_back(new
DomainDecomposedBoundaryTwoFlavourRatioPseudoFermion<DomainWallFermionR::Impl_t>
(*BoundaryNumerators[h],
*BoundaryDenominators[h],
ActionCG,ActionCG));
*BoundaryDenominators[h]));
}