aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/MultiParticleContainer.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-03-17Add some WarpXUtilMsg::AlwaysAssert in particle containers (#811)Gravatar Luca Fedeli 1-5/+19
* replaced AMREX_ALWAYS_ASSERT_WITH_MESSAGE with WarpXUtilMsg::AlwaysAssert where needed * reverted horrible mistake
2020-03-17Add QED particle creaction routines (#698)Gravatar Luca Fedeli 1-22/+210
* Initial work to add back QED particle generation * Work in progress: port old QED routines * Add two distinct CopyFuncs * modified getMFItInfo and CopyFunc (not working) * bugfixing & work to add back QED particle creation routines * bugfixing * added back quantum photon emission * bugfixing * bugfixing * added back pair generation (still some bugs in photon emission) * removed unwanted check * bugfixing * bugfixing * bugfixing * Moved QED folder * added comments + some refactoring * added comments * remove some virtual functions to make lgtm happy * updated tests * added PhysicalParticleType * bugfixing * added copyright * improved comments * improved comments * Update Source/Particles/ElementaryProcess/QEDPairGeneration.H Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja> * Update Source/Particles/ElementaryProcess/QEDPairGeneration.H Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja> * Update Source/Particles/ElementaryProcess/QEDPairGeneration.H Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja> * Update Source/Particles/ElementaryProcess/QEDPairGeneration.H Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja> * Update Source/Particles/ElementaryProcess/QEDPairGeneration.H Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja> * Update Source/Particles/ElementaryProcess/QEDPairGeneration.H Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja> * Update Source/Particles/ElementaryProcess/QEDPairGeneration.H Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja> * Update Source/Particles/ElementaryProcess/QEDPairGeneration.H Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja> * Update Source/Particles/ElementaryProcess/QEDPairGeneration.H Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja> * moved inclusion of QEDInternals folder * moved some inclusion directives between Make files * moved some inclusion directives between Make files (forgot to add a file) * Update Source/Particles/PhysicalParticleContainer.H Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja> * Update Source/Particles/PhysicalParticleContainer.H Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja> * Update Source/Particles/PhysicalParticleContainer.H Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja> * Update Source/Particles/PhysicalParticleContainer.H Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja> * Update Source/Particles/PhysicalParticleContainer.H Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja> * Update Source/Particles/MultiParticleContainer.cpp Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja> * Update Source/Particles/ElementaryProcess/QEDPhotonEmission.H Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja> * Update Source/Particles/ElementaryProcess/QEDPhotonEmission.H Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja> * Update Source/Particles/ElementaryProcess/QEDPhotonEmission.H Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja> * Update Source/Particles/ElementaryProcess/QEDPhotonEmission.H Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja> * Update Source/Particles/ElementaryProcess/QEDPhotonEmission.H Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja> * Update Source/Particles/MultiParticleContainer.cpp Co-Authored-By: MaxThevenet <mthevenet@lbl.gov> * Update Source/Particles/MultiParticleContainer.cpp Co-Authored-By: MaxThevenet <mthevenet@lbl.gov> * Update Source/Particles/ElementaryProcess/QEDPhotonEmission.H Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja> * Update Source/Particles/ElementaryProcess/QEDPhotonEmission.H Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja> * Update Source/Particles/MultiParticleContainer.cpp Co-Authored-By: MaxThevenet <mthevenet@lbl.gov> * Update Source/Particles/MultiParticleContainer.cpp Co-Authored-By: MaxThevenet <mthevenet@lbl.gov> * Update Source/Particles/MultiParticleContainer.cpp Co-Authored-By: MaxThevenet <mthevenet@lbl.gov> * Update Source/Particles/MultiParticleContainer.H Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja> * corrected alignment * Update Source/Particles/ElementaryProcess/QEDPairGeneration.H Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja> * removed some unnecessary amrex:: * add missing comment * Replaced BL_PROFILE with WARPX_PROFILE * bugfixing and making some variables const * removed some moves * removed some moves * started to change tau into optical_depth_BW or optical_depth_QSR * Using initialization policy to initialize optical depth * bugfixing * forgot to add a file * fixed bug * Revert "fixed bug" This reverts commit a3fb98d10cc30327635aeaa71451a05ca2229ff4. * Update Source/Particles/ElementaryProcess/QEDPairGeneration.H Co-Authored-By: MaxThevenet <mthevenet@lbl.gov> * Update Source/Particles/MultiParticleContainer.cpp Co-Authored-By: MaxThevenet <mthevenet@lbl.gov> * Added doQEDEvents to OneStep_sub1 * add a bunch of const * add _rt suffix * Update Source/Particles/MultiParticleContainer.cpp Co-Authored-By: MaxThevenet <mthevenet@lbl.gov> * added path to included files * Introduced a templated AmIA<something> function using physical_species * Update Source/Particles/ElementaryProcess/QEDPhotonEmission.H Co-Authored-By: MaxThevenet <mthevenet@lbl.gov> * Update Source/Particles/ElementaryProcess/QEDPhotonEmission.H Co-Authored-By: MaxThevenet <mthevenet@lbl.gov> * Update Source/Particles/ElementaryProcess/QEDPhotonEmission.H Co-Authored-By: MaxThevenet <mthevenet@lbl.gov> * added paths to included headers * updated documentation * updated examples * bugfixing * bugfixing * fixing examples * fixed example * fixed example * correct a misprint in error message * fixed issue related to 1./mass for photons * Update Source/Particles/MultiParticleContainer.cpp Co-Authored-By: MaxThevenet <mthevenet@lbl.gov> * Update Source/Particles/MultiParticleContainer.cpp Co-Authored-By: MaxThevenet <mthevenet@lbl.gov> * Update Source/Particles/MultiParticleContainer.cpp Co-Authored-By: MaxThevenet <mthevenet@lbl.gov> * Update Source/Particles/ElementaryProcess/QEDPhotonEmission.H Co-Authored-By: MaxThevenet <mthevenet@lbl.gov> * make the use of energy_threshold more transparent * remove unnecessary checks * bigfixing * added comment * separate checks for QED processes * added a CheckIonizationProductSpecies for consistency * bugfixing * now using a new variable for photon energy creation threshold * removed unwanted comment * added option to set a user-defined threshold for photon creation * bugfixing * updated documentation * updated example to include new option * updated doc * fixed merge conflict * correct bug in example * reorganized function Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> Co-authored-by: MaxThevenet <mthevenet@lbl.gov>
2020-03-16Add AlwaysAssert with std::string message (#792)Gravatar Luca Fedeli 1-2/+6
* added new function WarpXUtilMsg::AlwaysAssert * Update Source/Utils/WarpXUtil.H Co-Authored-By: MaxThevenet <mthevenet@lbl.gov> * Update Source/Utils/WarpXUtil.cpp Co-Authored-By: MaxThevenet <mthevenet@lbl.gov> * rename argument of AlwaysAssert * updated documentation of Always Assert Co-authored-by: MaxThevenet <mthevenet@lbl.gov>
2020-03-12Changed BL_ASSERT to AMREX_ALWAYS_ASSERT for user input (#798)Gravatar David Grote 1-6/+6
* Changed BL_ASSERT to AMREX_ALWAYS_ASSERT for user input * Fixed typo when replacing BL_ASSERTs
2020-03-06Remove old electrostatic code (#780)Gravatar Remi Lehe 1-69/+0
* Create inputs * fixed stuff * Make smaller test * Re-use EvolveEM for ES calculation * Use correct variable const_dt * Avoid out of bound and modify computation of electrostatic field * Update test file * Remove tab * Minor refactoring of space-charge calculation * Remove old electrostatic files * Fix electrostatic test * Rename WarpXEvolveEM to WarpXEvolve * Use if conditions instead of ifdef * Correct initialization of `do_electrostatic` * Fix static variable * Add documentation for `do_electrostatic` * Remove more electrostatic code Co-authored-by: dbizzozero <dbizzozero@users.noreply.github.com>
2020-02-27Comment/Remove Unused Parameters (#749)Gravatar Axel Huebl 1-2/+2
Use the `clang-tidy` pass `misc-unused-parameters` to remove unused parameter warnings. https://clang.llvm.org/extra/clang-tidy/checks/misc-unused-parameters.html) Committed as generic user so git does not credit the many lines to me: ```bash GIT_AUTHOR_NAME="Tools" GIT_AUTHOR_EMAIL="warpx@lbl.gov" \ git commit ```
2020-02-25Includes: Clean Up (#743)Gravatar Axel Huebl 1-6/+4
- Use `""` for WarpX-local includes - Order: WarpX `""`, AMReX `<>`, other third party includes `<>` - Add dir prefixes for WarpX Add order to includes by including from `Source/` onward and keeping directory prefixes of non-local includes for clarity.
2020-02-24Profiler wrapper to allow for cudaDeviceSynchronize (#738)Gravatar MaxThevenet 1-3/+3
* add warpx profiler wrapper * call WX profiler wrapper instead of BL * EOL and cleaning * add doc on profile syncs * do not use PROFILE macros in .H files * replace WX_PROFILE with WARPX_PROFILE and use bool instead of int * typo * this file shouldn't be there
2020-02-21Call AMReX Bin sort (#739)Gravatar MaxThevenet 1-2/+2
* call AMReX Bin sort instead of Cell sort * proper initialization of bin size * IntVect declaration must work in 2D and 3D * Apply suggestions from code review Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja> * remove print statement Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2020-02-10template Parser so that it works for any number of variablesGravatar Weiqun Zhang 1-12/+12
2020-02-07Merge pull request #688 from atmyers/two_way_processGravatar MaxThevenet 1-2/+2
Handle two-way processes and multiplicity
2020-02-07Merge pull request #687 from EZoni/build-buffer-masksGravatar MaxThevenet 1-1/+0
Fortran to C++: build buffer masks
2020-02-06Do not include 'WarpX_f.H' when not necessary.Gravatar Edoardo Zoni 1-1/+0
2020-02-06fix TABsGravatar Andrew Myers 1-1/+1
2020-02-06make the multiplicity a template parameter so it can be known at compile timeGravatar atmyers 1-4/+2
2020-02-06add multiplicity argument to filterCopyTransform so we can handle cases like ↵Gravatar atmyers 1-1/+3
splitting.
2020-02-04move the resize into the FilterCopyTransform call, where we know exactly how ↵Gravatar Andrew Myers 1-8/+0
big to make the dst
2020-02-04fix EOL whitespaceGravatar Andrew Myers 1-1/+1
2020-02-04exit early in the case that there are 0 src particlesGravatar Andrew Myers 1-7/+9
2020-02-03fix EOL whitespaceGravatar Andrew Myers 1-5/+5
2020-02-03move filterCopyTransform to its own fileGravatar Andrew Myers 1-3/+3
2020-02-03remove old functionsGravatar Andrew Myers 1-1/+0
2020-02-03remove old / wrong docstringsGravatar Andrew Myers 1-3/+5
2020-02-03clean up field ionizationGravatar Andrew Myers 1-19/+28
2020-02-03helper function for setting new particle IDsGravatar Andrew Myers 1-24/+6
2020-02-03gotta write the new ions at the end!Gravatar Andrew Myers 1-1/+1
2020-02-03fix EOL whitespaceGravatar Andrew Myers 1-3/+3
2020-02-03TABs -> spacesGravatar Andrew Myers 1-31/+31
2020-02-03more work on elementary_processGravatar atmyers 1-19/+36
2020-02-02combine the default initializer and the smart copy into oneGravatar atmyers 1-0/+3
2020-01-31fix EOL whitespaceGravatar Andrew Myers 1-1/+1
2020-01-31on second thought, implement this as a member functionGravatar Andrew Myers 1-2/+2
2020-01-31helper function for defining all particle tilesGravatar Andrew Myers 1-25/+5
2020-01-30Merge pull request #665 from RemiLehe/remove_fortran_push_positionGravatar Remi Lehe 1-8/+0
Remove fortran push position in electrostatic code
2020-01-28Replace fortran pusher for position by C++ oneGravatar Remi Lehe 1-8/+0
2020-01-27Automatically add copyright header with update_copyright.shGravatar Tools 1-0/+10
2020-01-15changes as suggested in review.Gravatar RevathiJambunathan 1-12/+20
2020-01-14adding time as an independent variable for parser function (x,y,z,t)Gravatar RevathiJambunathan 1-6/+6
2020-01-13EOL whitespaceGravatar RevathiJambunathan 1-2/+2
2020-01-13moving E/B parser variables to MultiParticleContainer class. changing input ↵Gravatar RevathiJambunathan 1-0/+79
files appropriately.
2019-12-18Modify based on suggestions.Gravatar Yinjian Zhao 1-1/+1
2019-12-02Merge branch 'dev' into collisionGravatar Yin-YinjianZhao 1-157/+148
2019-11-25Add user inputs of Coulomb Log of each collision type.Gravatar Yinjian Zhao 1-1/+2
2019-11-24Modified the collision part of MultiParticleContainer.cpp.Gravatar Yinjian Zhao 1-12/+7
2019-11-18Add collisions between a single species.Gravatar Yinjian Zhao 1-3/+4
2019-11-15bugfixingGravatar Luca Fedeli 1-124/+122
2019-11-15added messages related to table initializationGravatar Luca Fedeli 1-2/+8
2019-11-15simplified parsing inputfileGravatar Luca Fedeli 1-210/+203
2019-11-14Merge branch 'dev' into collisionGravatar Yin-YinjianZhao 1-10/+2
2019-11-14bugfixingGravatar Luca Fedeli 1-10/+4