aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/SpectralSolver/SpectralAlgorithms (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-04-02Includes: Only From `Source/` (#873)Gravatar Axel Huebl 2-3/+1
* 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 2-1/+4
* 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-13PSATD Single precision (#805)Gravatar MaxThevenet 1-16/+16
* fix compilation for single precision PSATD with USE_GPU * compiles and tested on CPU also * add sentence to doc: FFTW needs to be compiled with single precision option * add test, better pre-proc directives indent, clearer ifdef * use using whenever possible * indent * fix TravisCI matrix, and improve matrix test * need to compile with same precision for fields and particles
2020-02-27Implement div(E) diagnostics for spectral case (#720)Gravatar Edoardo Zoni 3-1/+78
* Implement div(E) diagnostics for spectral case. * split travis tests in bigger matrix * split more TravisCI tests, add electrostatic, use defaults values * typo * Move computation of div(E) to base class SpectralBaseAlgorithm. * need to split psatd too * consistent variable names and use function to avoid duplication * fix typo for qed tests * typo * also need to update run_tests.sg * Update copyright tags. * change matrix * Add test of div(E) vs rho/epsilon_0 in PML test. * SpectralFieldIndex: reuse memory slot for Bx when computing divE. Co-authored-by: MaxThevenet <mthevenet@lbl.gov>
2020-02-25Includes: Clean Up (#743)Gravatar Axel Huebl 7-12/+38
- 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-18Galilean PSATD with shift (#704)Gravatar Olga Shapoval 8-10/+290
* 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-01-27Automatically add copyright header with update_copyright.shGravatar Tools 5-0/+31
2019-12-18Make comments in header files Doxygen-readableGravatar MaxThevenet 1-1/+2
2019-09-11Source: tabs2spacesGravatar Axel Huebl 1-3/+3
Manually fix tabs to four spaces and alignments for consistent prepresentation of source code over all machines.
2019-09-11Source & Tools: No EOL WhitespacesGravatar Tools 2-2/+2
End-of-line (EOL) whitespaces are verbose and increase diffs and merge conflicts over time. Cleaned them up for the `Source/`, `Examples/` and `Tools/` directory with the following bash one-liner: ```bash find . -type f -not -path './.git*' \ -exec sed -i 's/[[:blank:]]*$//' {} \; ``` 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 ```
2019-07-30Corrections to allow compilation on GPUGravatar Remi Lehe 2-45/+60
2019-07-22Merge branch 'dev' into psatd_pmlGravatar Remi Lehe 2-54/+69
2019-06-06 Included revisions as suggested in the PRGravatar Revathi Jambunathan 1-4/+0
2019-06-06cleaning code for spectral cufft for 3DGravatar Revathi Jambunathan 2-62/+6
2019-05-14 changed made after merging with lastest dev versionGravatar Revathi Jambunathan 2-12/+11
2019-05-08merged with upstream devGravatar Revathi Jambunathan 4-0/+318
2019-05-03Commit missing filesGravatar Remi Lehe 2-0/+165
2019-05-02Start implementation of spectral PMLGravatar Remi Lehe 3-3/+8
2019-05-01Add virtual destructorGravatar Remi Lehe 1-0/+4
2019-05-01Add commentsGravatar Remi Lehe 1-1/+4
2019-04-30Use factory method for the solverGravatar Remi Lehe 4-22/+54
2019-04-30Reorganize directoriesGravatar Remi Lehe 3-0/+204