diff options
author | 2022-07-22 14:46:15 -0700 | |
---|---|---|
committer | 2022-07-22 14:46:15 -0700 | |
commit | 21df9056c5f204d66d8ca7cb64a2c5bd03209165 (patch) | |
tree | ff898bc59950eb450ff96b2335db2a6e73c13bbb /Source/Particles/PhysicalParticleContainer.cpp | |
parent | a4be76993e18c1f5adc5c25fcdf0602838a54ff2 (diff) | |
download | WarpX-21df9056c5f204d66d8ca7cb64a2c5bd03209165.tar.gz WarpX-21df9056c5f204d66d8ca7cb64a2c5bd03209165.tar.zst WarpX-21df9056c5f204d66d8ca7cb64a2c5bd03209165.zip |
Fixes to allow mixed precision, ParticleReal float, Real double (#3239)
* Fixes to allow mixed precision, ParticleReal float, Real double
* Fix for the optical depth
* A different way of fixing QuantumSynchrotronEvolveOpticalDepth
* In the QED code, consistently use ParticleReal
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r-- | Source/Particles/PhysicalParticleContainer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp index feed808df..8dfca52ef 100644 --- a/Source/Particles/PhysicalParticleContainer.cpp +++ b/Source/Particles/PhysicalParticleContainer.cpp @@ -1455,8 +1455,8 @@ PhysicalParticleContainer::AddPlasmaFlux (amrex::Real dt) #ifdef WARPX_QED //Pointer to the optical depth component - amrex::Real* p_optical_depth_QSR = nullptr; - amrex::Real* p_optical_depth_BW = nullptr; + amrex::ParticleReal* p_optical_depth_QSR = nullptr; + amrex::ParticleReal* p_optical_depth_BW = nullptr; // If a QED effect is enabled, the corresponding optical depth // has to be initialized |