diff options
author | 2019-07-31 12:01:27 -0700 | |
---|---|---|
committer | 2019-07-31 12:01:27 -0700 | |
commit | fcbe147e185a36fbf1c3be2db440e6a5b51e9dd6 (patch) | |
tree | fda48eb6b8b80b2a4b745fe4e3e75d3a013ba5de /Source/Initialization/PlasmaInjector.H | |
parent | 209fcf219017a8852aac9806240fbadc5fbabafe (diff) | |
download | WarpX-fcbe147e185a36fbf1c3be2db440e6a5b51e9dd6.tar.gz WarpX-fcbe147e185a36fbf1c3be2db440e6a5b51e9dd6.tar.zst WarpX-fcbe147e185a36fbf1c3be2db440e6a5b51e9dd6.zip |
comments in plasma injector
Diffstat (limited to 'Source/Initialization/PlasmaInjector.H')
-rw-r--r-- | Source/Initialization/PlasmaInjector.H | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Initialization/PlasmaInjector.H b/Source/Initialization/PlasmaInjector.H index c0d74ab0c..5ae2a967e 100644 --- a/Source/Initialization/PlasmaInjector.H +++ b/Source/Initialization/PlasmaInjector.H @@ -71,6 +71,8 @@ public: InjectorDensity* getInjectorDensity (); InjectorMomentum* getInjectorMomentum (); + // When running on GPU, injector for position, momentum and density store + // particle 3D positions in shared memory IF using the parser. std::size_t sharedMemoryNeeded () const noexcept { return amrex::max(inj_pos->sharedMemoryNeeded(), |