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

Added PICMI_ParticleBoundaryScrapingDiagnostic class #118

Merged

Conversation

oshapoval
Copy link
Contributor

Added PICMI_ParticleBoundaryScrapingDiagnostic class for ScrapingBoundary diagnostics support.

@oshapoval oshapoval marked this pull request as draft August 6, 2024 05:29
@oshapoval oshapoval marked this pull request as ready for review August 6, 2024 19:14
@oshapoval oshapoval changed the title [WIP] Added PICMI_ParticleBoundaryScrapingDiagnostic class Added PICMI_ParticleBoundaryScrapingDiagnostic class Aug 6, 2024

class PICMI_ParticleBoundaryScrapingDiagnostic(_ClassWithInit) :
"""
Defines the particle diagnostics that are absorbed at the boundaries, throughout the simulation.
Copy link
Member

Choose a reason for hiding this comment

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

Here's a suggested edit of this documentation
Defines the particle diagnostics that are used to collect the particles that are absorbed at the boundaries, throughout the simulation.

@@ -329,3 +329,48 @@ def __init__(self, grid, num_snapshots, dt_snapshots, data_list=None,
self.name = name

self.handle_init(kw)

class PICMI_ParticleBoundaryScrapingDiagnostic(_ClassWithInit) :
Copy link
Member

Choose a reason for hiding this comment

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

A better place for this class would be right after PICMI_ParticleDiagnostic (before the Lab frame diagnostics diagnostics comment).

Copy link
Member

@dpgrote dpgrote left a comment

Choose a reason for hiding this comment

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

Thanks! Looks good!

@dpgrote dpgrote merged commit 32d1e86 into picmi-standard:master Aug 21, 2024
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.

2 participants