aboutsummaryrefslogtreecommitdiff
path: root/Source/Initialization/InjectorDensity.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-06-26Remove Custom momentum and density injector (#4037)Gravatar Remi Lehe 1-6/+0
2023-06-13Enforce const correctness using clang-tidy CI test (#3921)Gravatar Luca Fedeli 1-1/+1
* add clang-tidy workflow * fix missing newline * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * make clang.14.sh executable * remove non explicitly selected checks * complete list of dependencies * fix bug * specify path of clang-tidy file * fix bug * add new check * remove one check * add magic numbers check * removed one check * keep only one check * Docs: Conda Dev w/ Boost (#3911) Add the `boost` package to the conda developer environment. Used for QED table generation. * Fix typo in Adastra cluster documentation (#3918) * add back three checks * prepare clang-tidy wrapper * actually use clang-tidy in the script * test * fix bug * actually use clang-tidy * fixed bug * fixed bug * fixed bug * fixed bug * remove all checks except the selected 3 * fixed bug * fixed bug * fixed bug * enforce const correctness using clang-tidy * remove one check * Fix Concurrency Issue * BLAS++/LAPACK++ for RZ+PSATD * Build all 4 WarpX DIMS * add few echo for test purposes * try to debug mysterious error * don't test RZ with clang-tidy * add back RZ test * add some const * fix bug * check also header files * remove header filter since it does not work as expected * fixed bug * check also WarpX headers * fix bugs * continue enforcing const correctness * continue enforcing const correctness * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fixed bug * fix bugs and add new const * clean .clang-tidy * make regex more precise according to Weiqun's suggestion * add more const * fix bugs * fix bug * silence warning on float comparison * fixed bug * fixed bugs * fix bug and add const * fixed bugs * fix bug * fix bug * fix bug * fixed bug * fix bug
2022-10-10Partial refactoring of the utils directory (#3404)Gravatar Luca Fedeli 1-2/+3
* initial work to clean WarpX Utils * remove AMRCore from Ionization tables * progress * refactoring of a part of the utils directory * fix bug * fixed bug * fixed bug * remove debug line accidentally slipped into the code * remove debug line accidentally slipped into the code * remove debug line accidentally slipped into the code * cleaning * fixed bug
2022-03-08Make error and info messages visually uniform (#2939)Gravatar Luca Fedeli 1-2/+3
* initial work to add msg formatter * wip * replace AMREX_ALWAYS_ASSERT_WITH_MESSAGE with WarpX equivalent
2021-07-13amrex::Parser (#2063)Gravatar Weiqun Zhang 1-1/+0
* amrex::Parser Replace WarpXParser with amrex::Parser. Roundoff errors are expected because of additional optimization in amrex::Parser. * Reset the Langmuir_multi_psatd_single_precision benchmark due to change in single precision parser * enable Intel oneAPI CI again * Update Source/EmbeddedBoundary/WarpXInitEB.cpp * Replace hard-coded number in ParticleDiag with a constexpr
2021-06-24Use "Include What You Use" on WarpX (#1947)Gravatar Luca Fedeli 1-1/+9
* initial tests with IWYU * added a couple of forward declarations * used iwyu on more files * progress * used iwyu on more files * progress with iwyu * progress with iwyu * fixed bug * progress with iwyu * progress with IWYU * progress with IWYU * fixed bug * fixed bug * progress with IWYU * progress with IWYU + use forward declarations in WarpX.H * first try with .def files * fix bugs * progress with IWYU * progress with IWYU * progress with iwyu * correct copyright * fixed bug * fixed bugs * fix missing include * fixed bug * fix bug * fix bug introduced during last bugfix * use iwyu on newly added files * add space * fix bug * fix missing include * fix missing include * fix missing include * fixed bugs * fixed bug * attempt at fixing issue with math functions * added missing include * fixed missing include * using _fwd.H * fixed bug * progress with iwyu * update AMReX branch * enforce alphabetic order * progress with iwyu * use right version of amrex * use right version of amrex for tests * fixed bug * fix another bug * fix missing include * fix missing include * fix missing include * updated amrex * initial work to document new include strategy * updated documentation * Fix rst & private includes * Remove accidentially added files * Fix rst code blocks * one more rst block Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2021-05-13Implemented query and getArrWithParser (#1936)Gravatar David Grote 1-1/+1
* Implemented query and getArrWithParser * Updated parameters.rst regarding expressions for multiple floats
2021-03-18Use Clear Naming Standard for ParmParse Variables (#1809)Gravatar Edoardo Zoni 1-3/+3
2020-09-14Remove The_Managed_Arena (#1313)Gravatar WeiqunZhang 1-7/+5
* Remove the base class of InjectorPoisition, InjectorDensity and InjectorMomentum so that they no longer live in managed memory. * Have both host and device copies of Injector*. * Modify Parser classes so that they can work without unified memory. Add HostDeviceParser that is non-owning and therefore suitable for being value captured by device lambda.
2020-02-25Includes: Clean Up (#743)Gravatar Axel Huebl 1-2/+3
- 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-10template Parser so that it works for any number of variablesGravatar Weiqun Zhang 1-17/+0
2020-01-27Automatically add copyright header with update_copyright.shGravatar Tools 1-0/+7
2020-01-14adding time as an independent variable for parser function (x,y,z,t)Gravatar RevathiJambunathan 1-2/+2
2019-12-04fix_warningsGravatar Weiqun Zhang 1-0/+2
2019-09-11Source & Tools: No EOL WhitespacesGravatar Tools 1-1/+1
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-09-10Cleanup: Include OrderGravatar Axel Huebl 1-0/+1
A typical include order in C++ is: - "module header" (local header) - "own headers" (WarpX) - <close library headers> (AMReX) - <other third party headers> (e.g. omp) - <stdlib headers> This avoids that a "forgotten include" will silently compile in some compilers and crash in others (because it will crash in all). References: - https://llvm.org/docs/CodingStandards.html#include-style - https://include-what-you-use.org
2019-08-07Changed required nr of parameters for defining the plasma parabolic channel ↵Gravatar Ligia Diana Amorim 1-1/+1
from 7 to 6
2019-07-31comments on all injectorsGravatar MaxThevenet 1-0/+6
2019-07-31fix memory needed in shared memoryGravatar MaxThevenet 1-1/+1
2019-07-24Reimplement AddPlasma. Commits related to AddPlasma in hackathonGravatar Weiqun Zhang 1-0/+71
branch are squashed into one.