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:
parent
564738b1ff
commit
98b1439ff9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user