Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update of the time saved for scraped particles on the boundaries #4710

Merged
merged 35 commits into from
Feb 24, 2024

Conversation

EyaDammak
Copy link
Member

@EyaDammak EyaDammak commented Feb 20, 2024

Update of the PR #4695
From the buffer of scraped particles, we can have access now to:
-the integer "stepScraped" which corresponds to the PIC iterations just before each particle hits boundaries (EB + regular boundaries)
-The real "deltaTimeScraped" which corresponds to the fraction of time between the time associated with the last step and the exact time when each particle hits an EB (for the regular boundaries, it is equal to 0 --> we still need to calculate it). This real is between 0 and dt.

Co-authored-by: Revathi  Jambunathan <41089244+RevathiJambunathan@users.noreply.github.com>
EyaDammak and others added 2 commits February 21, 2024 10:16
Co-authored-by: Revathi  Jambunathan <41089244+RevathiJambunathan@users.noreply.github.com>
@RevathiJambunathan
Copy link
Member

RevathiJambunathan commented Feb 21, 2024

Note : Merge this PR after #4702 due to conflits in the doc for set_Step, time_scraped in #4702

@ax3l ax3l added the component: boundary PML, embedded boundaries, et al. label Feb 21, 2024
Copy link
Member

@RemiLehe RemiLehe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I added a few comments.

Docs/source/usage/parameters.rst Outdated Show resolved Hide resolved
Docs/source/usage/parameters.rst Outdated Show resolved Hide resolved
Source/Particles/ParticleBoundaryBuffer.cpp Show resolved Hide resolved
Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
@RemiLehe RemiLehe enabled auto-merge (squash) February 22, 2024 23:52
auto-merge was automatically disabled February 22, 2024 23:55

Head branch was pushed to by a user without write access

@RemiLehe RemiLehe merged commit 9a017a6 into ECP-WarpX:development Feb 24, 2024
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: boundary PML, embedded boundaries, et al.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants