QUDA  1.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 
46  void flushForceMonitor();
47 
48 } // namespace quda
void updateMomentum(GaugeField &mom, double coeff, GaugeField &force, const char *fname)
Definition: momentum.cu:328
bool forceMonitor()
Whether we are monitoring the force or not.
Definition: momentum.cu:13
double computeMomAction(const GaugeField &mom)
Compute and return global the momentum action 1/2 mom^2.
Definition: momentum.cu:178
void flushForceMonitor()
Flush any outstanding force monitoring information.
Definition: momentum.cu:29
void applyU(GaugeField &force, GaugeField &U)
Definition: momentum.cu:446