Skip to content

Fix PKPM SSP-RK3 stage-1 field limiter target - #1109

Open
jasisz wants to merge 1 commit into
gkeyllorg:mainfrom
jasisz:fix-pkpm-stage1-field-limiter
Open

Fix PKPM SSP-RK3 stage-1 field limiter target#1109
jasisz wants to merge 1 commit into
gkeyllorg:mainfrom
jasisz:fix-pkpm-stage1-field-limiter

Conversation

@jasisz

@jasisz jasisz commented Sep 7, 2026

Copy link
Copy Markdown

The first PKPM SSP-RK3 stage writes its field result to em1, but the optional field limiter was called on emnew. With field.limit_em = true, stage 2 therefore consumed the un-limited em1.

This changes the stage-1 limiter target to em1, matching the stage output and the corresponding Vlasov SSP-RK3 implementation.

Validation:

  • make -j8 pkpm
  • focused driver harness: before the fix, the first limiter targets emnew and stage 2 receives the un-limited value 4; after the fix, the limiter targets em1 and stage 2 receives the limited value 1
  • actual Maxwell limiter kernel reduces the test Ex slope from 4 to 0 while retaining its average of 1

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