1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-18 07:47:06 +01:00

Implement infrared improvement for v=0 on-shell self-energy

This commit is contained in:
James Harrison
2017-12-14 13:42:41 +00:00
parent 6bc136b1d0
commit 581be32ed2
4 changed files with 34 additions and 7 deletions

View File

@ -67,7 +67,7 @@ void TStochEm::setup(void)
// execution ///////////////////////////////////////////////////////////////////
void TStochEm::execute(void)
{
PhotonR photon(par().gauge, par().zmScheme);
PhotonR photon(par().gauge, par().zmScheme, par().improvement);
EmField &a = *env().createLattice<EmField>(getName());
EmComp *w;

View File

@ -44,7 +44,8 @@ class StochEmPar: Serializable
public:
GRID_SERIALIZABLE_CLASS_MEMBERS(StochEmPar,
PhotonR::Gauge, gauge,
PhotonR::ZmScheme, zmScheme);
PhotonR::ZmScheme, zmScheme,
Integer, improvement);
};
class TStochEm: public Module<StochEmPar>

View File

@ -61,7 +61,7 @@ void TUnitEm::setup(void)
// execution ///////////////////////////////////////////////////////////////////
void TUnitEm::execute(void)
{
PhotonR photon(0, 0); // Just chose arbitrary input values here
PhotonR photon(0, 0, 0); // Just chose arbitrary input values here
EmField &a = *env().createLattice<EmField>(getName());
LOG(Message) << "Generating unit EM potential..." << std::endl;
photon.UnitField(a);