Skip to content

BoundaryScrapingDiagnostic: periodically flush the buffers #3131

Open
@RemiLehe

Description

@RemiLehe

As a follow up of #3064, we would need to periodically flush the buffers that are used to store the scraped particles.
Right now, the BoundaryScrapingDiagnostic records the scraped particles throughout the simulation, and only dumps them to disk at the very end of the simulation. However, these buffers could end up using a large amount of memory.
Instead, we would need to flush them periodically to disk, similarly to what we do for boosted-frame diagnostics.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions