diff options
Diffstat (limited to 'Source/Particles/PhotonParticleContainer.H')
-rw-r--r-- | Source/Particles/PhotonParticleContainer.H | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Particles/PhotonParticleContainer.H b/Source/Particles/PhotonParticleContainer.H index 407cf26f3..9132cf4a9 100644 --- a/Source/Particles/PhotonParticleContainer.H +++ b/Source/Particles/PhotonParticleContainer.H @@ -73,6 +73,12 @@ public: int lev, int depos_lev, amrex::Real dt) override {}; + //Photons are not leptons + virtual bool AmIALepton () override + { + return false; + }; + }; #endif // #ifndef WARPX_PhotonParticleContainer_H_ |