-
Notifications
You must be signed in to change notification settings - Fork 202
[WIP] Add PICMI interface for BoundaryScrapingDiagnostic #4383
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
base: development
Are you sure you want to change the base?
Conversation
""" | ||
def init(self, kw): | ||
|
||
self.format = kw.pop('warpx_format', 'plotfile') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These parts should be in the base class, as they are used across many diagnostics.
self.diagnostic.openpmd_backend = self.openpmd_backend | ||
self.diagnostic.file_min_digits = self.file_min_digits | ||
self.diagnostic.intervals = self.period | ||
self.diagnostic.particles_at_eb = 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be in a parent PICMI class
|
||
# --- Use a set to ensure that fields don't get repeated. | ||
variables = set() | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code below should be in the WarpXDiagnostic parent class, since it is used across many diagnostics
No description provided.