aboutsummaryrefslogtreecommitdiff
path: root/Source/Utils/IntervalsParser.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-10-10Partial refactoring of the utils directory (#3404)Gravatar Luca Fedeli 1-215/+0
* 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-09-24BTD diagnostics specified by intervals (#3367)Gravatar Ryan Sandberg 1-1/+98
* BTD diagnostics specified by intervals * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * address CI errors * refactor and test * no duplicate or out-of-order snapshots * update documentation and tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * clean for CI * still fighting CI * Update Source/Diagnostics/BTDiagnostics.cpp Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> * Apply suggestions from code review Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> * refactor includes * add an explicit constexpr * Apply suggestions from code review Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> * describe algorithm for BTD intervals list * revert to old description of num_snapshots_lab * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * preserve behavior of num_snapshots_lab Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
2022-03-08Make error and info messages visually uniform (#2939)Gravatar Luca Fedeli 1-3/+4
* initial work to add msg formatter * wip * replace AMREX_ALWAYS_ASSERT_WITH_MESSAGE with WarpX equivalent
2022-02-07Implement some clang-tidy suggestions (#2826)Gravatar Luca Fedeli 1-10/+8
* implement some clang-tidy suggestions * Update loop Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2021-08-30Added parsing in intervals (#2246)Gravatar David Grote 1-6/+6
* Added parsing in intervals, minor clean up of querywithparser routines * Split up documentation * Added documentation * Added tests to inputs_2d_multi_rz_rt Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2021-06-24Use "Include What You Use" on WarpX (#1947)Gravatar Luca Fedeli 1-1/+6
* 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>
2020-10-02[mini-PR] Fix a couple of warnings (#1408)Gravatar Luca Fedeli 1-1/+1
* fixed unused variable warning * fixed unwanted copy
2020-09-14Read intervals inputs as vector of strings (#1307)Gravatar NeilZaim 1-2/+5
2020-08-24Fix some warnings (#1239)Gravatar Luca Fedeli 1-4/+4
This PR fixes the source of several compilation warnings. Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2020-05-01Add parser for more general intervals (slices) (#925)Gravatar NeilZaim 1-0/+111
* Add parser for slices and split function * Apply suggestions from code review Co-Authored-By: MaxThevenet <mthevenet@lbl.gov> * Moved new classes to a separate file * Add intervals parser to input parameter documentation * Fix syntax in parameters.rst * Update Source/Utils/IntervalsParser.cpp * Apply suggestions from code review Co-Authored-By: Axel Huebl <axel.huebl@plasma.ninja> * Implement intervals parser for load balancing * remove EOL whitespace * Remove unnecessary sentence in parameters doc Co-authored-by: MaxThevenet <mthevenet@lbl.gov> Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>