QUDA  v1.1.0
A library for QCD on GPUs
ks_improved_force.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <quda_internal.h>
4 #include <quda.h>
5 #include <gauge_field.h>
6 
7 namespace quda {
8  namespace fermion_force {
9 
17  void hisqStaplesForce(GaugeField &newOprod,
18  const GaugeField& oprod,
19  const GaugeField& link,
20  const double path_coeff[6]);
21 
29  void hisqLongLinkForce(GaugeField &newOprod,
30  const GaugeField &oprod,
31  const GaugeField &link,
32  double coeff);
33 
42  const GaugeField &link);
43 
47  void setUnitarizeForceConstants(double unitarize_eps, double hisq_force_filter, double max_det_error,
48  bool allow_svd, bool svd_only,
49  double svd_rel_error,
50  double svd_abs_error);
51 
59  void unitarizeForce(GaugeField &newForce, const GaugeField &oldForce, const GaugeField &gauge,
60  int *unitarization_failed);
61 
68  void unitarizeForceCPU(GaugeField &newForce, const GaugeField &oldForce, const GaugeField &gauge);
69 
70  } // namespace fermion_force
71 } // namespace quda
void setUnitarizeForceConstants(double unitarize_eps, double hisq_force_filter, double max_det_error, bool allow_svd, bool svd_only, double svd_rel_error, double svd_abs_error)
Set the constant parameters for the force unitarization.
void unitarizeForceCPU(GaugeField &newForce, const GaugeField &oldForce, const GaugeField &gauge)
Unitarize the fermion force on CPU.
void hisqCompleteForce(GaugeField &oprod, const GaugeField &link)
Multiply the computed the force matrix by the gauge field and perform traceless anti-hermitian projec...
void hisqLongLinkForce(GaugeField &newOprod, const GaugeField &oprod, const GaugeField &link, double coeff)
Compute the long-link contribution to the fermion force.
void hisqStaplesForce(GaugeField &newOprod, const GaugeField &oprod, const GaugeField &link, const double path_coeff[6])
Compute the fat-link contribution to the fermion force.
void unitarizeForce(GaugeField &newForce, const GaugeField &oldForce, const GaugeField &gauge, int *unitarization_failed)
Unitarize the fermion force.
Main header file for the QUDA library.