mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-24 20:55:55 +01:00
QedFVol: pass arbitrary input values to photon constructor in UnitEm
This commit is contained in:
parent
564738b1ff
commit
98b1439ff9
@ -61,7 +61,7 @@ void TUnitEm::setup(void)
|
|||||||
// execution ///////////////////////////////////////////////////////////////////
|
// execution ///////////////////////////////////////////////////////////////////
|
||||||
void TUnitEm::execute(void)
|
void TUnitEm::execute(void)
|
||||||
{
|
{
|
||||||
PhotonR photon();
|
PhotonR photon(0, 0); // Just chose arbitrary input values here
|
||||||
EmField &a = *env().createLattice<EmField>(getName());
|
EmField &a = *env().createLattice<EmField>(getName());
|
||||||
LOG(Message) << "Generating unit EM potential..." << std::endl;
|
LOG(Message) << "Generating unit EM potential..." << std::endl;
|
||||||
photon.UnitField(a);
|
photon.UnitField(a);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user