1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 15:55:37 +00:00

Fix typos in ScalarVP

This commit is contained in:
James Harrison 2017-04-13 17:04:37 +01:00
parent 888988ad37
commit c8e6f58e24
2 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,5 @@
#include <Grid/Hadrons/Modules/MScalar/ScalarVP.hpp> #include <Grid/Hadrons/Modules/MScalar/ScalarVP.hpp>
#include <Grid/Hadrons/Modules/MScalar/Scalar.hpp>
using namespace Grid; using namespace Grid;
using namespace Hadrons; using namespace Hadrons;
@ -46,7 +47,7 @@ void TScalarVP::setup(void)
for (unsigned int mu = 0; mu < env().getNd(); ++mu) for (unsigned int mu = 0; mu < env().getNd(); ++mu)
{ {
phaseName_.push_back("_shiftphase_" + std::to_string(mu)); phaseName_.push_back("_shiftphase_" + std::to_string(mu));
muGFSrcName.push_back("_" + getName() + "_DinvSrc_" + std::to_string(mu)); muGFSrcName_.push_back("_" + getName() + "_DinvSrc_" + std::to_string(mu));
muProp0Name_.push_back(getName() + "_prop0_" + std::to_string(mu)); muProp0Name_.push_back(getName() + "_prop0_" + std::to_string(mu));
muPropQName_.push_back(getName() + "_propQ_" + std::to_string(mu)); muPropQName_.push_back(getName() + "_propQ_" + std::to_string(mu));
muPropSunName_.push_back(getName() + "_propSun_" + std::to_string(mu)); muPropSunName_.push_back(getName() + "_propSun_" + std::to_string(mu));

View File

@ -42,16 +42,19 @@ public:
// execution // execution
virtual void execute(void); virtual void execute(void);
private: private:
void chargedProp(ScalarField &prop_q, ScalarField &prop_sun,
ScalarField &prop_tad, ScalarField &GFSrc,
FFT &fft);
void momD1(ScalarField &s, FFT &fft); void momD1(ScalarField &s, FFT &fft);
void momD2(ScalarField &s, FFT &fft); void momD2(ScalarField &s, FFT &fft);
private: private:
std::string freeMomPropName_, GFSrcName_, prop0Name_, std::string freeMomPropName_, GFSrcName_, prop0Name_,
propQName_, propSunName_, propTadName_; propQName_, propSunName_, propTadName_;
std::vector<std::string> phaseName_, muGFSrcName_, muProp0Name_, std::vector<std::string> phaseName_, muGFSrcName_, muProp0Name_,
muPropQName, muPropSunName_, muPropTadName_; muPropQName_, muPropSunName_, muPropTadName_;
ScalarField *freeMomProp_, *GFSrc_, *prop0_; ScalarField *freeMomProp_, *GFSrc_, *prop0_;
std::vector<ScalarField *> phase_, muGFSrc_, muProp0_; std::vector<ScalarField *> phase_, muGFSrc_, muProp0_;
emField *A; EmField *A;
}; };
MODULE_REGISTER_NS(ScalarVP, TScalarVP, MScalar); MODULE_REGISTER_NS(ScalarVP, TScalarVP, MScalar);