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

Particle Buffer for Backtransformed Diagnostics #1898

Merged
merged 85 commits into from
Jan 7, 2022
Merged
Changes from 1 commit
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
c35c006
move BTD call before Redistribute
RevathiJambunathan Apr 13, 2021
dedffbb
define particle buffer, BTD particle functor, particle filter
RevathiJambunathan Apr 19, 2021
471ab5b
select particles on the slice
RevathiJambunathan Apr 19, 2021
b763098
add particle functors
RevathiJambunathan Apr 19, 2021
fd325fe
add Lorentz Transform
RevathiJambunathan May 10, 2021
43ed4f8
fix conflict
RevathiJambunathan Jul 26, 2021
b329b76
add call to loretnz operator
RevathiJambunathan Jul 28, 2021
f1d5beb
storing Particles in buffer
RevathiJambunathan Aug 20, 2021
db5733d
This is WIP. Added particle buffers, filled them, sent them for flush…
RevathiJambunathan Aug 23, 2021
ac24482
trailing endif after rebase
RevathiJambunathan Aug 24, 2021
49423b0
adding print statements and not flushing particles in OPENPMD if nump…
RevathiJambunathan Aug 24, 2021
68e5add
last timestep flush is ensured at the end of evolve loop
RevathiJambunathan Aug 25, 2021
e34d212
fix bug in declaring uy uy new and computing uzp
RevathiJambunathan Aug 29, 2021
b8569b9
set particle Geom, BA, and DMAP for particle flush with plotfile
RevathiJambunathan Aug 29, 2021
b808533
set Particle BA Geom DMAP for particle buffer and no BTD transform f…
RevathiJambunathan Aug 30, 2021
8125893
separate compute and pack from flush
RevathiJambunathan Aug 30, 2021
50f73fb
Fix Typo: resizeable -> resizable
ax3l Aug 27, 2021
381670b
new class for plotfile particles for BTD
RevathiJambunathan Aug 31, 2021
0a71513
copy particle_H and DATA and Header. some WIP print statements
RevathiJambunathan Aug 31, 2021
0d6bd0d
Merge plotfile
RevathiJambunathan Sep 7, 2021
766ec50
clean print statements
RevathiJambunathan Sep 7, 2021
f5d74b5
fix warning message
RevathiJambunathan Sep 8, 2021
ef4031b
struct declaration in header, fix warning
RevathiJambunathan Sep 8, 2021
3804b7f
doxygen comments and copyright
RevathiJambunathan Sep 10, 2021
397151f
clean print statements
RevathiJambunathan Sep 10, 2021
1bb369e
fix eol and override function warning
RevathiJambunathan Sep 10, 2021
48e3498
tile data
RevathiJambunathan Sep 13, 2021
6dd5f98
fix output species array size bug
RevathiJambunathan Sep 13, 2021
20628db
fix access for particle buffer size
RevathiJambunathan Sep 13, 2021
9623ce9
clean and move time-update
RevathiJambunathan Sep 13, 2021
e5f5ccd
add cur_time update back
RevathiJambunathan Sep 20, 2021
b3e3b6c
remove cur time update which was called twice
RevathiJambunathan Sep 20, 2021
cd95481
dont access particles flushed already for full diagnostics
RevathiJambunathan Oct 1, 2021
c954e07
cur time must be updated for RigidInjection BTD CI test to pass
RevathiJambunathan Oct 2, 2021
497c092
temporarily move call to BTD
RevathiJambunathan Oct 3, 2021
d1ad9da
updating time and calling BTD before movewindow
RevathiJambunathan Oct 5, 2021
bb4a688
cleanup
RevathiJambunathan Oct 11, 2021
fa838aa
reset benchmarks and analysis script
RevathiJambunathan Oct 11, 2021
e93eee9
clean and add comments
RevathiJambunathan Oct 11, 2021
6329a4e
fix particle box array, geom, dmap
RevathiJambunathan Oct 13, 2021
86812c3
reset benchmarks for multi_J rz and ElectrostaticSphereEB_mixedBC
RevathiJambunathan Oct 13, 2021
3922be6
wip commit
RevathiJambunathan Oct 18, 2021
a3d6749
wip commit
RevathiJambunathan Oct 18, 2021
e054ec9
add SI conversion
RevathiJambunathan Oct 25, 2021
07c209c
abort for openpmd bp backend if species is selected. Also write parti…
RevathiJambunathan Oct 25, 2021
3c8ecf4
add documentation for aborting if adios is used with openpmd and add …
RevathiJambunathan Oct 25, 2021
9c59b86
Apply suggestions from code review
RevathiJambunathan Oct 25, 2021
8fcf502
use bool instead of int
RevathiJambunathan Oct 25, 2021
627117e
fix doxygen format
RevathiJambunathan Oct 26, 2021
8838326
using h5 as backend in example test to ensure consistency with abort …
RevathiJambunathan Oct 26, 2021
513cda9
fix doxygen comment
RevathiJambunathan Oct 26, 2021
9d4b653
reset benchmark again for comoving_2d_psatd galilean_2d_psatd multi_J…
RevathiJambunathan Oct 29, 2021
e820996
reset benchmark for background_mcc
RevathiJambunathan Oct 30, 2021
5bd5eb8
self-review suggestions
RevathiJambunathan Nov 1, 2021
0202ea7
reset benchmarks. Update with last snapshot full info
RevathiJambunathan Nov 4, 2021
6bffb51
Axel's PR suggestions
RevathiJambunathan Nov 4, 2021
1e4ad4d
Axel's doxygen fix
RevathiJambunathan Nov 4, 2021
9a6f674
add comments
RevathiJambunathan Nov 4, 2021
c625382
fix eol
RevathiJambunathan Nov 4, 2021
d36c05d
improved exception handling for stringsteam
RevathiJambunathan Nov 4, 2021
66c9b96
PR suggestions
RevathiJambunathan Nov 16, 2021
84a10a5
Axels' suggestions from code review
RevathiJambunathan Nov 16, 2021
8200b1f
Axel's suggestions :)
RevathiJambunathan Nov 16, 2021
3bd54a1
simplify logic
RevathiJambunathan Nov 16, 2021
8070131
suggestions from review (Axel/Reva)
RevathiJambunathan Nov 18, 2021
1b5959e
variable name change for clarity
RevathiJambunathan Nov 18, 2021
aaa727a
if num particles in tmp array is 0, return
RevathiJambunathan Nov 23, 2021
8f82d77
Use new BTD inputs to set up BTD for particles in the corresponding p…
RevathiJambunathan Dec 1, 2021
49f7fd3
unused var
RevathiJambunathan Dec 1, 2021
70229e9
fix logic error
RevathiJambunathan Dec 14, 2021
0ae5ce1
speciesID undefined
RevathiJambunathan Dec 14, 2021
62a6c20
separate particle and field buffer calls and initialization for BTD. …
RevathiJambunathan Dec 20, 2021
e140b1e
rename variable so it does not ghost existing varname
RevathiJambunathan Dec 21, 2021
41aebd7
add more comments
RevathiJambunathan Dec 21, 2021
fb849cd
Assert that fields are on
RevathiJambunathan Dec 21, 2021
c3ac1c2
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 21, 2021
87bce0a
redundant function definition
RevathiJambunathan Dec 21, 2021
68dc68b
unused variable
RevathiJambunathan Dec 22, 2021
37ace97
unused variable zp
RevathiJambunathan Dec 22, 2021
6d82387
1D 2D 3D definition
RevathiJambunathan Dec 22, 2021
2e7cf66
fix else
RevathiJambunathan Dec 22, 2021
7e0da5c
Apply suggestions from code review
RevathiJambunathan Jan 5, 2022
380b176
missing semicolon and ignore xp yp for 1D
RevathiJambunathan Jan 5, 2022
a251387
resetting benchmarks for boosted sims and mcc sim
RevathiJambunathan Jan 5, 2022
707f8e3
temporarily changing tolerance since the relative difference for mome…
RevathiJambunathan Jan 6, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@

my_check = checksumAPI.evaluate_checksum(
'background_mcc', 'Python_background_mcc_plt00050',
do_particles=True, rtol=2.5e-3
do_particles=True, rtol=3.7e-3
Copy link
Member Author

@RevathiJambunathan RevathiJambunathan Jan 6, 2022

Choose a reason for hiding this comment

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

@roelof-groenewald I changed this temporarily to 3.7e-3 as that was the relative difference for particle_momentum_z for electrons. All other quantities in the checksum are within this tolerance. Was 2.5e-3 chosen specifically or was this driven by the maximum difference in the checksum?
This PR changes when time get updated, and as a result, background_mcc benchmarks are updated since the potential hi uses the updated time

Copy link
Member

Choose a reason for hiding this comment

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

That sounds fine. The 2.5e-3 tolerance was not intelligently chosen, but by the needed tolerance for the test to pass so increasing it to 3.7e-3 is fine.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks a lot!

)