QUDA  v1.1.0
A library for QCD on GPUs
momentum.h
Go to the documentation of this file.
1 #pragma once
2 #include <gauge_field.h>
3 
4 namespace quda {
5 
11  double computeMomAction(const GaugeField &mom);
12 
25  void updateMomentum(GaugeField &mom, double coeff, GaugeField &force, const char *fname);
26 
35  void applyU(GaugeField &force, GaugeField &U);
36 
41  bool forceMonitor();
42 
47 
48 } // namespace quda
void applyU(GaugeField &force, GaugeField &U)
double computeMomAction(const GaugeField &mom)
Compute and return global the momentum action 1/2 mom^2.
bool forceMonitor()
Whether we are monitoring the force or not.
void flushForceMonitor()
Flush any outstanding force monitoring information.
void updateMomentum(GaugeField &mom, double coeff, GaugeField &force, const char *fname)