mirror of
https://github.com/paboyle/Grid.git
synced 2025-06-16 14:57:05 +01:00
One flavour rational unprec added; untested but does compile.
Moving param structs into a single header for later connection to file I/O using macromagic.h
This commit is contained in:
26
lib/qcd/action/ActionParams.h
Normal file
26
lib/qcd/action/ActionParams.h
Normal file
@ -0,0 +1,26 @@
|
||||
#ifndef GRID_QCD_ACTION_PARAMS_H
|
||||
#define GRID_QCD_ACTION_PARAMS_H
|
||||
|
||||
namespace Grid {
|
||||
namespace QCD {
|
||||
|
||||
// These can move into a params header and be given MacroMagic serialisation
|
||||
struct GparityWilsonImplParams {
|
||||
std::vector<int> twists;
|
||||
};
|
||||
|
||||
struct WilsonImplParams { };
|
||||
|
||||
struct OneFlavourRationalParams {
|
||||
RealD lo;
|
||||
RealD hi;
|
||||
int precision=64;
|
||||
int degree=10;
|
||||
RealD tolerance; // Vector?
|
||||
RealD MaxIter; // Vector?
|
||||
OneFlavourRationalParams (RealD lo,RealD hi,int precision=64,int degree = 10);
|
||||
};
|
||||
|
||||
}}
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user