aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhysicalParticleContainer.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-03-02Option to specify the type of physical species (#746)Gravatar MaxThevenet 1-0/+1
* first implementation, doesnt link * fix species type and use it in some examples * eol * typo in input file * Apply suggestions from code review Co-Authored-By: Luca Fedeli <luca.fedeli.88@gmail.com> Co-Authored-By: Yinjian Zhao <yinjianzhao@lbl.gov> * changes suggested by review * put species functions into a namespace Co-authored-by: Luca Fedeli <luca.fedeli.88@gmail.com> Co-authored-by: Yinjian Zhao <yinjianzhao@lbl.gov>
2020-03-02Heuristic load balance based on number of particles and number of cells (#737)Gravatar Michael E Rowan 1-2/+1
* Issue #713: Load Balance w.r.t. number of cells + particles README: Update Badged to `master` (#725) * README: Update Badged to `master` Update the badges to check the `master` branch as development branch. * Docs: More dev->master updates - release workflow - contribution guide link Galilean PSATD with shift (#704) * Read Galilean velocity * Prepare structures for Galilean solver * Started implementing Galilean equations * Analytical limits for X1, X2, X3, X4 coefficients added * Slight changes added * Added Galilean position pusher * Scale galilean velocity * Remove unneeded Abort * Fix Galilean pusher * Allocate Theta2 array * Fix definition of coefficients * Increase guard cells for Galilean * Add guard cell in particle exchange * Type corrected * v_gal added to warpx_current_deposition * v_gal added to WarpXParticleContainer.H * Bug fixed - update particle x-position over one time step * Fix issues with merge from dev * Preparation for merging dev into galilean. * Adding galilean shift * Implemented galilean shift * Changed method's name from GalileanShift to ShiftGalileanBoundary * Added doxygen string for ShiftGalileanBoundary * Removed never used method LowerCornerWithCentering * Removed temporary comments * Removed dt as a variable from DepositCharge method and its dependencies * Converted tab to spaces * Removed EOL white space * Add documentation and automated tests * Fix compilation error * Add automated test * Update automated test * Removed temporary used galilean shift * Removed temporary used particle's push for Galilean PSATD * Removed unused statement * Remove EOL white space. * Added zero shift for LowerCorner in RZ geometry * Minor changes to Galilean implementation * Modifications for GPU * Fix typo Co-authored-by: Remi Lehe <remi.lehe@normalesup.org> [mini-PR] when a cufft error occurs, print a meaningful error message (#728) * added method to translate cufft errors * fixed style * bug fixing avoid duplicate tests and plot less often (#726) * avoid duplicate tests and plot less often * fix tests I broke when trying to save plotfiles doc install yt on Summit (#729) * doc install yt on Summit * eol Do not use local Redistribute for electrostatic solver (#731) Add Reset Random Seed Feature (#717) * Add ResetRandomSeed * Add doc * Modify and change location of the code. * Small fix * Try to fix an alert * Try to fix an alert * Modify based on suggestions * Use INT_MAX * Modify based on suggestions. * Modify based on suggestions. openPMD: warn if step is already written (#718) * making sure iterations are written at most once. * prints a warning when iteration is written more than once writting is not stopped * Fixed tabs * included <iostream> as requested by Axel Minor refactoring of space-charge calculation (#732) Improve clarity and documentation Minor Update GNUmakefile Update based on comments Update GNU Makefile Formatting Formatting Formatting Formatting Remove unneeded function Removed unneeded function Formatting Formatting Formatting Whitespace Minor Formatting Formatting Formatting Formatting Formatting Formatting Formatting whitespace Formatting Minor Formatting Remove unneeded template function Change import Minor Formatting Remove unused variable Formatting Update Source/WarpX.H Co-Authored-By: MaxThevenet <mthevenet@lbl.gov> Update Source/Parallelization/WarpXRegrid.cpp Co-Authored-By: MaxThevenet <mthevenet@lbl.gov> Remove `n_particles` and `n_cells` Update Source/WarpX.H Co-Authored-By: MaxThevenet <mthevenet@lbl.gov> Revert clear costs in case of edge case Update to use new load_balance_api in AMReX Tabs Minor * minor: indentation in Source/WarpX.H Co-authored-by: MaxThevenet <mthevenet@lbl.gov>
2020-02-29replace tau by optical_depth_QSR and optical_depth_BW (#742)Gravatar MaxThevenet 1-16/+23
* replace tau by optical_depth_QSR and optical_depth_BW * update python analysis scripts accordingly * fix bug for BW
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-18/+19
- 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-17/+17
* 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-18Galilean PSATD with shift (#704)Gravatar Olga Shapoval 1-4/+13
* Read Galilean velocity * Prepare structures for Galilean solver * Started implementing Galilean equations * Analytical limits for X1, X2, X3, X4 coefficients added * Slight changes added * Added Galilean position pusher * Scale galilean velocity * Remove unneeded Abort * Fix Galilean pusher * Allocate Theta2 array * Fix definition of coefficients * Increase guard cells for Galilean * Add guard cell in particle exchange * Type corrected * v_gal added to warpx_current_deposition * v_gal added to WarpXParticleContainer.H * Bug fixed - update particle x-position over one time step * Fix issues with merge from dev * Preparation for merging dev into galilean. * Adding galilean shift * Implemented galilean shift * Changed method's name from GalileanShift to ShiftGalileanBoundary * Added doxygen string for ShiftGalileanBoundary * Removed never used method LowerCornerWithCentering * Removed temporary comments * Removed dt as a variable from DepositCharge method and its dependencies * Converted tab to spaces * Removed EOL white space * Add documentation and automated tests * Fix compilation error * Add automated test * Update automated test * Removed temporary used galilean shift * Removed temporary used particle's push for Galilean PSATD * Removed unused statement * Remove EOL white space. * Added zero shift for LowerCorner in RZ geometry * Minor changes to Galilean implementation * Modifications for GPU * Fix typo Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
2020-02-11Add do_not_gather. (#705)Gravatar Yinjian Zhao 1-1/+3
2020-02-10template Parser so that it works for any number of variablesGravatar Weiqun Zhang 1-24/+15
2020-02-03Merge branch 'dev' into elementary_processGravatar Andrew Myers 1-152/+111
2020-02-03TABs -> spacesGravatar Andrew Myers 1-6/+6
2020-02-03more work on elementary_processGravatar atmyers 1-75/+10
2020-01-31fix EOL whitespaceGravatar Andrew Myers 1-1/+1
2020-01-31rewrite building the ionization maskGravatar Andrew Myers 1-37/+33
2020-01-31fix EOL whitespaceGravatar Andrew Myers 1-1/+1
2020-01-31on second thought, implement this as a member functionGravatar Andrew Myers 1-11/+1
2020-01-31helper function for defining all particle tilesGravatar Andrew Myers 1-4/+2
2020-01-31Merge branch 'dev' into soa_to_aosGravatar Andrew Myers 1-0/+10
2020-01-29rename get/set particle position functorsGravatar Andrew Myers 1-32/+32
2020-01-29Real -> ParticleRealGravatar Andrew Myers 1-10/+10
2020-01-29fix for boosted frameGravatar Andrew Myers 1-12/+15
2020-01-28fix EOL whitespaceGravatar Andrew Myers 1-3/+3
2020-01-28Merge pull request #661 from MaxThevenet/copyrightGravatar Remi Lehe 1-0/+10
Add Copyright header in all source files
2020-01-28handle rigid injection and particle splittingGravatar Andrew Myers 1-23/+24
2020-01-28switch deposition, gather, and pushers to use the get / set position functorGravatar Andrew Myers 1-26/+43
2020-01-28remove the thread_num variable from places where it is no longer neededGravatar Andrew Myers 1-21/+4
2020-01-28add missing headerGravatar Andrew Myers 1-0/+1
2020-01-28use get / set position in the external E and B field getterGravatar Andrew Myers 1-13/+15
2020-01-27remove synchronize call which should not be needed on this branchGravatar Andrew Myers 1-3/+0
2020-01-27Merge branch 'dev' into soa_to_aosGravatar Andrew Myers 1-0/+3
2020-01-27fix EOL whitespaceGravatar Andrew Myers 1-1/+1
2020-01-27remove the copies between soa and aos for the particle positionsGravatar Andrew Myers 1-118/+73
2020-01-27Automatically add copyright header with update_copyright.shGravatar Tools 1-0/+10
2020-01-27EOL fixGravatar RevathiJambunathan 1-1/+1
2020-01-27GpuSynchronize() to prevent cudaStreams over-writing shared arrays for positionsGravatar RevathiJambunathan 1-0/+3
2020-01-24Merge pull request #659 from atmyers/bugfixGravatar Remi Lehe 1-1/+0
ParticleContainer: remove unused variable
2020-01-24remove unused variableGravatar Andrew Myers 1-1/+0
2020-01-24I believe we want to pass the position arrays by const ref when assigning ↵Gravatar Andrew Myers 1-10/+9
the external field.
2020-01-24Merge pull request #609 from RevathiJambunathan/ParticlesEBParserGravatar Remi Lehe 1-24/+83
Externally applied E/B fields on the particles using parser
2020-01-23Change do_not_push to be species specific and add corresponding documentation.Gravatar Yinjian Zhao 1-0/+1
2020-01-15fixing typo in commentGravatar RevathiJambunathan 1-1/+1
2020-01-15changes as suggested in review.Gravatar RevathiJambunathan 1-5/+0
2020-01-14Merge branch 'dev' of https://github.com/ECP-WarpX/WarpX into ParticlesEBParserGravatar RevathiJambunathan 1-0/+2
2020-01-14adding time as an independent variable for parser function (x,y,z,t)Gravatar RevathiJambunathan 1-12/+14
2020-01-13missing commaGravatar RevathiJambunathan 1-2/+2
2020-01-13shared memory for parser on gpuGravatar RevathiJambunathan 1-2/+10
2020-01-13moving E/B parser variables to MultiParticleContainer class. changing input ↵Gravatar RevathiJambunathan 1-30/+23
files appropriately.
2020-01-13fix EOL whitespaceGravatar Andrew Myers 1-2/+2
2020-01-13wrap openmp pragma in #ifdef _OPENMPGravatar Andrew Myers 1-0/+2
2020-01-11moving external field on particle function to FieldGather (pti,...)Gravatar RevathiJambunathan 1-10/+17