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

BTD fields with RZ + openPMD - single mode only #3350

Merged
merged 11 commits into from
Oct 31, 2022

Conversation

RevathiJambunathan
Copy link
Member

@RevathiJambunathan RevathiJambunathan commented Aug 30, 2022

I modified the file in Issue #3389 to ensure only one rz mode.
inputs_issue3389.txt
Attached is the modified input file

You can changefields_to_plot = noneto use Er, Et, Ez , B, j, rho
This runs fine on summit. I am yet to visualize it

@ax3l ax3l added component: diagnostics all types of outputs geometry: RZ axisymmetric 2D and quasi-3D component: boosted frame boosted frame components & logic labels Oct 2, 2022
@RevathiJambunathan RevathiJambunathan marked this pull request as ready for review October 24, 2022 20:48
@ax3l ax3l self-assigned this Oct 24, 2022
@RevathiJambunathan RevathiJambunathan added the enhancement New feature or request label Oct 25, 2022
Source/Diagnostics/BTDiagnostics.cpp Outdated Show resolved Hide resolved
Source/Diagnostics/BTDiagnostics.H Show resolved Hide resolved
Source/Diagnostics/BTDiagnostics.H Show resolved Hide resolved
Source/Diagnostics/BTDiagnostics.cpp Outdated Show resolved Hide resolved
Source/Diagnostics/BTDiagnostics.cpp Outdated Show resolved Hide resolved
Source/Diagnostics/BTDiagnostics.cpp Outdated Show resolved Hide resolved
Source/Diagnostics/BTDiagnostics.cpp Outdated Show resolved Hide resolved
Source/Diagnostics/BTDiagnostics.cpp Outdated Show resolved Hide resolved
Source/Diagnostics/BTDiagnostics.cpp Show resolved Hide resolved
Source/Diagnostics/BTDiagnostics.cpp Outdated Show resolved Hide resolved
@RevathiJambunathan RevathiJambunathan changed the title BTD fields with RZ + openPMD BTD fields with RZ + openPMD - single mode only Oct 28, 2022
Copy link
Member

@ax3l ax3l left a comment

Choose a reason for hiding this comment

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

Thank you! 🎉

@ax3l ax3l merged commit 840216b into ECP-WarpX:development Oct 31, 2022
dpgrote pushed a commit to dpgrote/WarpX that referenced this pull request Nov 22, 2022
* cell center BTD functors for RZ with openpmd

* add RZ modes to output varnames too

* update varnames once and set map for RZ fields in BTfunctor

* fix access to varname field instead of unallocated m_varnames, and update hi ki-index after flush

* set back trasnformed fields to false if fields_to_plot is none. Separate PArticle and Field io further. Also, clean up Particle Buffer initialize so its consistent with Field box, boxarray, dmap, and geom

* clean commented line

* assert for single rz mode

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* remove unused var

* Apply suggestions from code review

From Axels' review

Co-authored-by: Axel Huebl <[email protected]>

* adding comments, doxygen, and clean-up

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Axel Huebl <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: boosted frame boosted frame components & logic component: diagnostics all types of outputs enhancement New feature or request geometry: RZ axisymmetric 2D and quasi-3D
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants