reverting to addM0LightLCDSolver
This commit is contained in:
parent
3595f7d250
commit
ab747d2b1d
22
RbcUkqcd.hpp
22
RbcUkqcd.hpp
@ -62,11 +62,6 @@ struct RbcUkqcd
|
|||||||
inline static constexpr DeflationParameters c1m32DeflPar{3.0e-06, 5.5, 101, 100, 110, 120};
|
inline static constexpr DeflationParameters c1m32DeflPar{3.0e-06, 5.5, 101, 100, 110, 120};
|
||||||
|
|
||||||
// Light solver: load deflation from disk
|
// Light solver: load deflation from disk
|
||||||
static inline void addLightLCDSolver(Application &app, const RbcUkqcd::EnsembleParameters &par,
|
|
||||||
const std::string solverName, const std::string gaugeName,
|
|
||||||
const std::string gaugeTransform,
|
|
||||||
const std::string eigenpackPath, const double residual);
|
|
||||||
|
|
||||||
static inline void addM0LightLCDSolver(Application &app, const std::string solverName,
|
static inline void addM0LightLCDSolver(Application &app, const std::string solverName,
|
||||||
const std::string gaugeName,
|
const std::string gaugeName,
|
||||||
const std::string gaugeTransform,
|
const std::string gaugeTransform,
|
||||||
@ -125,11 +120,10 @@ struct RbcUkqcd
|
|||||||
|
|
||||||
// Implementations /////////////////////////////////////////////////////////////////////////////////
|
// Implementations /////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
// Load deflation from disk
|
// Light M0 (load deflation from disk)
|
||||||
void RbcUkqcd::addLightLCDSolver(Application &app, const RbcUkqcd::EnsembleParameters &par,
|
void RbcUkqcd::addM0LightLCDSolver(Application &app, const std::string solverName,
|
||||||
const std::string solverName, const std::string gaugeName,
|
const std::string gaugeName, const std::string gaugeTransform,
|
||||||
const std::string gaugeTransform, const std::string eigenpackPath,
|
const std::string eigenpackPath, const double residual)
|
||||||
const double residual)
|
|
||||||
{
|
{
|
||||||
const std::string prefix = solverName;
|
const std::string prefix = solverName;
|
||||||
|
|
||||||
@ -143,10 +137,10 @@ void RbcUkqcd::addLightLCDSolver(Application &app, const RbcUkqcd::EnsembleParam
|
|||||||
MAction::ScaledDWF::Par actionPar;
|
MAction::ScaledDWF::Par actionPar;
|
||||||
|
|
||||||
actionPar.gauge = gaugeName;
|
actionPar.gauge = gaugeName;
|
||||||
actionPar.Ls = par.Ls;
|
actionPar.Ls = RbcUkqcd::m0LCDPar.Ls;
|
||||||
actionPar.M5 = par.M5;
|
actionPar.M5 = RbcUkqcd::m0LCDPar.M5;
|
||||||
actionPar.mass = par.ml;
|
actionPar.mass = RbcUkqcd::m0LCDPar.ml;
|
||||||
actionPar.scale = par.scale;
|
actionPar.scale = RbcUkqcd::m0LCDPar.scale;
|
||||||
actionPar.boundary = "1 1 1 1";
|
actionPar.boundary = "1 1 1 1";
|
||||||
actionPar.twist = "0. 0. 0. 0.";
|
actionPar.twist = "0. 0. 0. 0.";
|
||||||
app.createModule<MAction::ScaledDWF>(prefix + "_dwf", actionPar);
|
app.createModule<MAction::ScaledDWF>(prefix + "_dwf", actionPar);
|
||||||
|
Loading…
Reference in New Issue
Block a user