Skip to content

Hybrid-PIC: test RZ per-species field scaling - #2

Open
tomzhu0225 wants to merge 1 commit into
prkkumar-he:impl_hybrid_resistive_dragfrom
tomzhu0225:test/pr7103-rz-species-fields
Open

Hybrid-PIC: test RZ per-species field scaling#2
tomzhu0225 wants to merge 1 commit into
prkkumar-he:impl_hybrid_resistive_dragfrom
tomzhu0225:test/pr7103-rz-species-fields

Conversation

@tomzhu0225

Copy link
Copy Markdown

Adds the compact RZ regression requested in BLAST-WarpX#7103.

The test runs one step on a 16x8 RZ mesh split across two MPI ranks. It activates the per-species deposition path with hybrid_resistive_drag and a Te-only per-species resistivity parser, then compares hybrid_rho_species_sum_fp against an independent physical rho_ions diagnostic. The analysis checks the median, maximum, and axis relative errors.

This catches the original raw-radial-deposit bug: before the fix the median error was 0.97055 and the axis error was 0.93981; on the current branch all three errors are zero to printed double precision. No checksum baseline is needed.

Tested locally with:

ctest --test-dir build_rz_pr7103 --output-on-failure -R '^test_rz_ohm_solver_resistive_drag_species_fields_picmi\.(run|analysis)$'

Both tests pass in about 1.1 seconds total on two MPI ranks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant