Skip to content

Cleanup output fields#399

Merged
JamesMcClung merged 27 commits into
psc-code:mainfrom
JamesMcClung:pr/cleanup-output-fields
Apr 28, 2026
Merged

Cleanup output fields#399
JamesMcClung merged 27 commits into
psc-code:mainfrom
JamesMcClung:pr/cleanup-output-fields

Conversation

@JamesMcClung
Copy link
Copy Markdown
Collaborator

Make OutputFields (pfd) and OutputMoments (pfd_moments) distinct, usable diagnostics. Remove the wrapper type that combined them.

it isn't used, so just replace it with its default of 0
I don't think it's actually necessary
it doesn't use the grid
this does remove the outermost profiler wrapping both field and moments output,
but hopefully profiling all diagnostics (in a previous commit) is an acceptable replacement.
would be great to infer Mfields, but I'm not feeling brave enough to untangle that correctly
this enables parameters (interval, dir) to be set after initialization
Copy link
Copy Markdown
Contributor

@germasch germasch left a comment

Choose a reason for hiding this comment

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

I'll admit I didn't look into every single change, but I definitely like the overall concept.

👍

@JamesMcClung JamesMcClung merged commit 07ea71a into psc-code:main Apr 28, 2026
2 checks passed
@JamesMcClung JamesMcClung deleted the pr/cleanup-output-fields branch April 28, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants