aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/Collision (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-03-18Use Clear Naming Standard for ParmParse Variables (#1809)Gravatar Edoardo Zoni 2-5/+5
2021-03-16Add timers in routines that depend on cell-related work (#1692)Gravatar Michael E Rowan 3-3/+17
* Add timers * eol * AtomicAdd * lev argument for getCosts * style * style * wip * eol * .ipynb * passing down lev * eol * passing lev * eol * Update Source/Particles/Collision/PairWiseCoulombCollision.cpp Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> * Add for QED and ionization routines * eol * remove unneeded * mfi-->pti * move cost * eol Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2021-03-12fix unused variables (#1786)Gravatar Luca Fedeli 1-2/+2
2021-03-10Minor cleanup of RZ in collisions (#1774)Gravatar Remi Lehe 1-44/+34
* Minor cleanup of RZ in collisions * Clean-up indentation * Fix white space * Further cleanup of warnings
2021-01-21Define: _OPENMP -> AMREX_USE_OMP (#1520)Gravatar Axel Huebl 1-1/+1
* Define: _OPENMP -> AMREX_USE_OMP Replace the define check of `_OPENMP` with the explicit backend control of `AMREX_USE_OMP` for parallel constructs. Doing so avoids that we accidentially turn on OpenMP, e.g. if a dependency pulls it in for linear algebra, I/O, etc. This can led to confusion if the user explicitly requested a serial build. Also, we might want to use OpenMP functionality here and there for auxiliary functions w/o having to use the AMReX OpenMP backend, i.e. because we compile for GPUs. * Add missing amrex::Gpu::notInLaunchRegion
2021-01-12Fix some other warnings (#1618)Gravatar Luca Fedeli 1-8/+13
* fix warnings * fixed bug
2021-01-03Reconfigured the collision classes to allow for generalization (#1583)Gravatar David Grote 10-113/+289
* Reconfigured the collision classes to allow for generalization * Added literals to PairWiseCoulombCollision * Minor cleanup of PairWiseCoulombCollision.cpp, removing query of ndt * Add boilerplate to CollisionBase class * Fixed white space in CollisionBase.H Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2020-12-09Use new parser for more real input parameters (#1564)Gravatar NeilZaim 1-1/+2
2020-10-07RZ + single precision fix (#1417)Gravatar Michael E Rowan 1-2/+2
* RZ_SP fix * RZ SP fix * Fix cufft for single precision RZ. Co-authored-by: Weiqun Zhang <weiqunzhang@lbl.gov>
2020-10-05Add option to do collisions every # time steps (#1251)Gravatar Yinjian Zhao 2-6/+11
* Update inputs_3d * Update inputs_2d * Add ndt * Doc * Doc * Update inputs_3d * Update inputs_2d Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2020-09-25Use amrex::ParallelForRNG for random number generation (#1373)Gravatar Weiqun Zhang 4-19/+25
* Use amrex::ParallelForRNG for random number generation In order to support RNG on non-Nvidia GPUs, we need to use amrex::ParallelForRNG for kernels with calls to AMReX random number generation functions. * missing a RandomEngine argument
2020-09-14Implement leveling thinning algorithm (#1283)Gravatar NeilZaim 1-37/+3
* Initial commit (not working) * First working version * Cleaning and adding Doxygen comments * Apply suggestions from code review * Move findParticlesInEachCell to Utils/ParticleUtils Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2020-08-24Fix some warnings (#1239)Gravatar Luca Fedeli 4-9/+13
This PR fixes the source of several compilation warnings. Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2020-08-13Make collision module doable for RZ (#1135)Gravatar Yinjian Zhao 1-6/+26
* Make RZ doable for collision * Make RZ doable for collision * Make RZ doable for collision * Make RZ doable for collision * change nr to nz Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
2020-06-12Add CMake Scripts (#759)Gravatar Axel Huebl 1-0/+4
* [skip travis] CMake: Add CMake Scripts This add CMake scripts for the CMake build system generator. * CUDA Support Achieved Fastest compile via: cmake .. -DENABLE_CUDA=ON -DCUDA_ARCH=6.0 * CMake: openPMD & QED * CMake: Dimension Support WarpX_DIMS=2,3,RZ * CCache & Out-of-Source Enable CCache when found and prevent in-root builds (in-source okay-ish). * CMake: CUDA C++ Language Minimum * Add new Files * CI: Migrate macOS to CMake * Fortran: Enable Because Transitive ... for now :) * CI: Migrate Linux ICC to CMake * CI: Verbose Make * CMake: Add Missing PSATD Sources * CMake: PSATD, Compute, Precision, Clean
2020-05-22Dpcpp (#1045)Gravatar WeiqunZhang 1-4/+9
* Make changes to be able to compile with DPC++. Parser is disabled for DPC++ because it does not work. amrex::Math::abs instead of std::abs is used in device functions. * std::isnan not supported on device with DPC++
2020-04-28Style change to match the standard (#957)Gravatar Michael E Rowan 1-8/+8
2020-04-26minor code changes to remove warnings when compiling with gcc DEBUG=TRUE (#950)Gravatar MaxThevenet 1-3/+4
2020-04-02Includes: Only From `Source/` (#873)Gravatar Axel Huebl 1-1/+0
* Includes: Only From `Source/` Avoid adding all directories to include paths: - automatically structure includes more clearly, e.g. a util include with a short name is clearly seen as such - should have some small positive impact on compile time, since the compiler has to search less directories for an include file * Includes: Fix Non-Local Paths Add missing prefix relative to `Source/` for WarpX-local includes.
2020-03-31Make Build System: No Public Includes (#870)Gravatar Axel Huebl 1-6/+0
Remove the listing of all header-files from the Make-buildsystem. Listing public header files here tells the AMReX Makefile build system to install those in an install step after build. WarpX is currently not building a public library which can be consumed by users for their projects and only an executable.
2020-03-30Remove compiler warnings (#843)Gravatar Edoardo Zoni 1-1/+0
* Fix compiler warnings with DIM=2 * Fix compiler warnings with USE_RZ=TRUE * Fix compiler warnings with USE_PSATD=TRUE and DIM=2 * Fix compiler warnings with USE_PSATD=TRUE and DIM=3 * Fix bug: discard only return value when calling DefineAndReturnParticleTile * Remove unused variables not triggering warnings
2020-02-25Includes: Clean Up (#743)Gravatar Axel Huebl 4-4/+9
- 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-01-29Format change.Gravatar Yinjian Zhao 6-82/+82
2020-01-29Make collision doable for 2D-XZ.Gravatar Yinjian Zhao 6-88/+94
2020-01-27Automatically add copyright header with update_copyright.shGravatar Tools 6-0/+36
2020-01-07get rid of a 'calling host function from host / device function' warningGravatar Andrew Myers 1-0/+1
2019-12-18Modify based on suggestions.Gravatar Yinjian Zhao 3-27/+35
2019-12-12Modify ElasticCollisionPerez.H to be doxygen's standard.Gravatar Yinjian Zhao 1-16/+16
2019-12-12Add dimension and cooridinate system check.Gravatar Yinjian Zhao 1-1/+14
2019-12-12Modified CollisionType.cpp.Gravatar Yinjian Zhao 1-0/+2
2019-12-12Add comments in CollisionType.H.Gravatar Yinjian Zhao 1-0/+10
2019-12-12Minor change.Gravatar Yinjian Zhao 1-2/+4
2019-12-11Minor change on ElasticCollisionPerez.H.Gravatar Yinjian Zhao 1-9/+9
2019-12-11UpdateMomentumPerezElastic.HGravatar Yinjian Zhao 1-28/+9
2019-12-11Compute temperature in a function.Gravatar Yinjian Zhao 3-42/+43
2019-12-11Minor changes.Gravatar Yinjian Zhao 1-13/+14
2019-12-10Minor change in UpdateMomentumPerezElastic.H.Gravatar Yinjian Zhao 1-2/+6
2019-12-10Minor change in UpdateMomentumPerezElastic.H.Gravatar Yinjian Zhao 1-1/+1
2019-12-10Minor change in UpdateMomentumPerezElastic.H.Gravatar Yinjian Zhao 1-4/+4
2019-12-10Modified UpdateMomentumPerezElastic.H to make it better and more correct.Gravatar Yinjian Zhao 1-109/+173
2019-12-09Apply suggestions from code reviewGravatar Yin-YinjianZhao 2-2/+2
Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja>
2019-12-09Apply suggestions from code reviewGravatar Yin-YinjianZhao 4-36/+36
Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja>
2019-12-09Fixed a bug that occurs when the perpendicular term is zero.Gravatar Yinjian Zhao 1-6/+13
2019-12-04Fix a bug when .Gravatar Yinjian Zhao 1-0/+3
2019-11-25Add user inputs of Coulomb Log of each collision type.Gravatar Yinjian Zhao 2-5/+10
2019-11-24Modifed UpdateMomentumPerezElastic.H again.lsGravatar Yinjian Zhao 1-3/+11
2019-11-24Modified ElasticCollisionPerez.H to make it better.Gravatar Yinjian Zhao 1-6/+6
2019-11-24Modified UpdateMomentumPerezElastic.H to fix a bug caused by very small ↵Gravatar Yinjian Zhao 1-3/+11
random number.
2019-11-18Minor change.Gravatar Yinjian Zhao 1-4/+0
2019-11-18Fixed a bug when there is only one particle in the cell.Gravatar Yinjian Zhao 2-51/+59