diff options
author | 2019-07-28 18:21:34 -0700 | |
---|---|---|
committer | 2019-07-28 18:22:32 -0700 | |
commit | a0bb6f3ee7863c97292c99715854821ede3bcdb5 (patch) | |
tree | d4ba60a371019346b945c79d34682df0da3a729e /Source/Initialization/InjectorMomentum.cpp | |
parent | d59fa46d24417b67554132bc666e45886160bd09 (diff) | |
download | WarpX-a0bb6f3ee7863c97292c99715854821ede3bcdb5.tar.gz WarpX-a0bb6f3ee7863c97292c99715854821ede3bcdb5.tar.zst WarpX-a0bb6f3ee7863c97292c99715854821ede3bcdb5.zip |
No need to resize random number seeds anymore
Diffstat (limited to 'Source/Initialization/InjectorMomentum.cpp')
-rw-r--r-- | Source/Initialization/InjectorMomentum.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Source/Initialization/InjectorMomentum.cpp b/Source/Initialization/InjectorMomentum.cpp index 4e483fc33..f9070b29c 100644 --- a/Source/Initialization/InjectorMomentum.cpp +++ b/Source/Initialization/InjectorMomentum.cpp @@ -35,16 +35,3 @@ InjectorMomentum::sharedMemoryNeeded () const noexcept } } -bool -InjectorMomentum::useRandom () const noexcept -{ - switch (type) - { - case Type::gaussian: - { - return true; - } - default: - return false; - } -} |