aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/WarpXParticleContainer.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-03-30Remove compiler warnings (#843)Gravatar Edoardo Zoni 1-7/+3
* 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-03-27Costs vector of (pointer to) vector (#829)Gravatar Michael E Rowan 1-12/+12
* [WIP] costs mf --> costs vector * [WIP] costs vector * [WIP] vector costs * formatting * makefile * [WIP] costs vector * [WIP] *= costs * wts do not need to divide by num cells * Tiling safety on CPU * Add tests * EOL * Remove unneeded input * Update Source/WarpX.H costs documentation Co-Authored-By: MaxThevenet <mthevenet@lbl.gov> * Update timers with times only if user Timers update * warpx.-->WarpX:: * warpx.-->WarpX:: * warpx.-->WarpX:: * warpx.-->WarpX:: * warpx.-->WarpX:: * add dev synch * Update Regression/WarpX-tests.ini Co-Authored-By: MaxThevenet <mthevenet@lbl.gov> * Delete inputs_loadbalance_costs_heuristic * Update and rename inputs_loadbalancecosts_timers to inputs_loadbalancecosts * Update WarpX-tests.ini Co-authored-by: MaxThevenet <mthevenet@lbl.gov>
2020-03-12Added RZ mode for charge and direct current deposition (#793)Gravatar David Grote 1-6/+9
2020-03-10Allowed for more general centering of charge density (#768)Gravatar David Grote 1-8/+8
* Allowed for more general centering of charge density * Used rho_nodal_flag in ApplyInverseVolumeScalingToChargeDensity * Simplify declaration of rho_nodal_flag Co-Authored-By: MaxThevenet <mthevenet@lbl.gov> * Fix documentation for doChargeDepositionShapeN Co-Authored-By: MaxThevenet <mthevenet@lbl.gov> Co-authored-by: MaxThevenet <mthevenet@lbl.gov>
2020-02-27Comment/Remove Unused Parameters (#749)Gravatar Axel Huebl 1-2/+5
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-12/+13
- 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-13/+13
* 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-2/+28
* 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-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-03Merge branch 'dev' into elementary_processGravatar Andrew Myers 1-88/+21
2020-01-31fix EOL whitespaceGravatar Andrew Myers 1-2/+2
2020-01-31on second thought, implement this as a member functionGravatar Andrew Myers 1-0/+19
2020-01-31Merge branch 'dev' into soa_to_aosGravatar Andrew Myers 1-31/+9
2020-01-30Merge pull request #665 from RemiLehe/remove_fortran_push_positionGravatar Remi Lehe 1-31/+0
Remove fortran push position in electrostatic code
2020-01-29rename get/set particle position functorsGravatar Andrew Myers 1-15/+15
2020-01-29I believe we can resuse the GetPosition and SetPosition functors here, even ↵Gravatar Andrew Myers 1-8/+0
with RZ
2020-01-29Real -> ParticleRealGravatar Andrew Myers 1-1/+1
2020-01-28fix EOL whitespaceGravatar Andrew Myers 1-2/+2
2020-01-28switch deposition, gather, and pushers to use the get / set position functorGravatar Andrew Myers 1-21/+24
2020-01-28Replace fortran pusher for position by C++ oneGravatar Remi Lehe 1-31/+0
2020-01-27fix EOL whitespaceGravatar Andrew Myers 1-2/+2
2020-01-27remove the copies between soa and aos for the particle positionsGravatar Andrew Myers 1-80/+18
2020-01-27Automatically add copyright header with update_copyright.shGravatar Tools 1-0/+9
2020-01-24Fix issues of using static.Gravatar Yinjian Zhao 1-3/+0
2020-01-24Merge pull request #609 from RevathiJambunathan/ParticlesEBParserGravatar Remi Lehe 1-0/+1
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-1/+0
2020-01-15removing unwanted headersGravatar RevathiJambunathan 1-1/+0
2020-01-13moving E/B parser variables to MultiParticleContainer class. changing input ↵Gravatar RevathiJambunathan 1-18/+0
files appropriately.
2020-01-09cleaningGravatar RevathiJambunathan 1-2/+0
2020-01-09parser for particles in PhysicalParticleContainerGravatar RevathiJambunathan 1-0/+22
2020-01-07Unused Var in WarpXParticleContainerGravatar Axel Huebl 1-1/+0
Remove an unused variable in `WarpXParticleContainer.cpp`
2019-12-23Fixed loops for RZ in get and set positionGravatar grote 1-18/+27
2019-12-15Doxygen: add amrex:: prefix for function arguments in cpp filesGravatar MaxThevenet 1-4/+4
2019-12-11moved comment in empty blockGravatar Luca Fedeli 1-2/+3
2019-11-26Merge pull request #531 from levinem/for-loop-fixGravatar Axel Huebl 1-6/+9
Move finestLevel() calculation outside of for loop condition statements
2019-11-26Removed the blank lines between the nLevels declarations and the for loops. ↵Gravatar levinem 1-6/+2
Moved the prefix operator change back to its original postfix unary position. Changed the int const changes back to their original const int declarations.
2019-11-25Change do_not_depoist to be species related.Gravatar Yinjian Zhao 1-1/+0
2019-11-21Added a line break between the const int declaration and the for loop. ↵Gravatar levinem 1-2/+3
Updated the nLevels variable name to CamelCase.
2019-11-21Made similar for loop condition updates in other files. Changed an int const ↵Gravatar levinem 1-8/+14
declaration to a const int declaration.
2019-11-20Also do not deposit charge.Gravatar Yinjian Zhao 1-4/+7
2019-11-20Merge branch 'dev' of https://github.com/ECP-WarpX/WarpX into ↵Gravatar Yinjian Zhao 1-100/+59
doNotDepositCurrent
2019-11-20Add do_not_deposit_current.Gravatar Yinjian Zhao 1-0/+5
2019-11-16Minor fixesGravatar Remi Lehe 1-2/+5
2019-11-13Fix error in DepositChargeGravatar Remi Lehe 1-1/+1
2019-11-12Merge branch 'dev' into poissonGravatar Remi Lehe 1-15/+15
2019-11-12Merge pull request #520 from RemiLehe/modernize_depositionGravatar Remi Lehe 1-48/+35
Modernize function `DepositCharge` ; remove unused code
2019-11-12Remove Fortran filesGravatar Remi Lehe 1-0/+1
2019-11-12Modernize DepositChargeGravatar Remi Lehe 1-48/+34
2019-11-11Update DepositChargeGravatar Remi Lehe 1-4/+5