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

QedFVol: pass arbitrary input values to photon constructor in UnitEm

This commit is contained in:
James Harrison 2017-10-20 16:24:09 +01:00
parent 564738b1ff
commit 98b1439ff9

View File

@ -61,7 +61,7 @@ void TUnitEm::setup(void)
// execution ///////////////////////////////////////////////////////////////////
void TUnitEm::execute(void)
{
PhotonR photon();
PhotonR photon(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);