diff options
author | 2022-08-03 13:34:11 -0700 | |
---|---|---|
committer | 2022-08-03 13:34:11 -0700 | |
commit | 0a4d82fd5c514760871d11c8db037f560f07bc89 (patch) | |
tree | 0e322ae83a9aa4b71020a315ff91e4384e0cca6b /Source/Diagnostics/FlushFormats/FlushFormatSensei.cpp | |
parent | a4c36c317403d2b8050524ba2a37d8d237b0df32 (diff) | |
download | WarpX-0a4d82fd5c514760871d11c8db037f560f07bc89.tar.gz WarpX-0a4d82fd5c514760871d11c8db037f560f07bc89.tar.zst WarpX-0a4d82fd5c514760871d11c8db037f560f07bc89.zip |
Implement output of scraped particles at domain boundaries (#3274)
* Implement scraping from all boundaries
* Update input script
* Output all particles to the same buffer
* Dump different boundaries into different files
* Avoid writing species that are not allocated
* Improve documentation
* Allow output of some boundaries only
* Correct compilation error
* Fixes and updates to BoundaryScraping
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Diffstat (limited to 'Source/Diagnostics/FlushFormats/FlushFormatSensei.cpp')
-rw-r--r-- | Source/Diagnostics/FlushFormats/FlushFormatSensei.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Diagnostics/FlushFormats/FlushFormatSensei.cpp b/Source/Diagnostics/FlushFormats/FlushFormatSensei.cpp index 5e531df64..3d0528599 100644 --- a/Source/Diagnostics/FlushFormats/FlushFormatSensei.cpp +++ b/Source/Diagnostics/FlushFormats/FlushFormatSensei.cpp @@ -55,6 +55,7 @@ FlushFormatSensei::WriteToFile ( const amrex::Vector<ParticleDiag>& particle_diags, int nlev, const std::string prefix, int file_min_digits, bool plot_raw_fields, bool plot_raw_fields_guards, + const bool use_pinned_pc, bool isBTD, int snapshotID, const amrex::Geometry& full_BTD_snapshot, bool isLastBTDFlush, const amrex::Vector<int>& totalParticlesFlushedAlready) const @@ -62,7 +63,7 @@ FlushFormatSensei::WriteToFile ( amrex::ignore_unused( geom, nlev, prefix, file_min_digits, plot_raw_fields, plot_raw_fields_guards, - isBTD, snapshotID, full_BTD_snapshot, + use_pinned_pc, isBTD, snapshotID, full_BTD_snapshot, isLastBTDFlush, totalParticlesFlushedAlready); #ifndef AMREX_USE_SENSEI_INSITU |