diff options
author | 2022-02-11 19:18:03 -0800 | |
---|---|---|
committer | 2022-02-11 19:18:03 -0800 | |
commit | 4a7d3b2944127d4f96147d886fbe12ae87928ab3 (patch) | |
tree | 14741109f8cb0abdab549b25ddd52cbdd6197820 /Source/FieldSolver/SpectralSolver/SpectralKSpace.cpp | |
parent | 5c3787d9c091adfcb463903e0e370c120b614ce5 (diff) | |
download | WarpX-4a7d3b2944127d4f96147d886fbe12ae87928ab3.tar.gz WarpX-4a7d3b2944127d4f96147d886fbe12ae87928ab3.tar.zst WarpX-4a7d3b2944127d4f96147d886fbe12ae87928ab3.zip |
User-defined integer and real particle attributes (#2735)
* define user attributes, parse them, initialize with respective parsers
* fix warning by using static_cast for int attribute as parser returns real
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* clean-up from self-review
* adding dimensionless velocity, gamma*v/c and time to parser argument
* add documentation
* typo in comment
* unused var
* device vector for kernels
* particle attribute in developer doc
* data ptr for device vector
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* ignore_unused
* Docs: Describe all particle attributes
including pre-defined ones :)
* Docs: Fix formatting (user params)
* Add: 1D and RZ Support
* Docs: Fix Typo in Function Declaration
* Laser-Ion Example: User-Defined Attrib.
Add two user-defined attributes to the laser-ion acceleration
example. This is a 2D test.
Documents the name in the table of commonly used, user-defined
attribute names. The attribute added is the original position
of particles, which I like to plot in "potential" plots that
correlate original position in the target with final energy.
* changing user-interface API with .attribute. and no need for separate 1D 2D 3D RZ code for parser. pos.x/y/z returns the right values
* Adding 1D, 3D, and rz tests
* attribute in inputs
* at(i)
* refinining names for inputs for laser ion and acceleration tests
* typo in input
* reset benchmarks for test-cases that included attributes
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralKSpace.cpp')
0 files changed, 0 insertions, 0 deletions