-
Notifications
You must be signed in to change notification settings - Fork 196
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
Add 2D tests for proton boron fusion #2540
Conversation
4d48c48
to
ecb51dd
Compare
proton4.density = 1.e35 | ||
proton4.momentum_distribution_type = "constant" | ||
proton4.uz = sqrt(2*m_p*proton4_energy)/(m_p*clight) | ||
proton4.do_not_push = 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.
as in 3D: also let us add do_not_deposit
################################# | ||
############ NUMERICS ########### | ||
################################# | ||
warpx.serialize_ics = 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.
let's move out to .ini
Regression/WarpX-tests.ini
Outdated
[Proton_Boron_Fusion_2D] | ||
buildDir = . | ||
inputFile = Examples/Modules/nuclear_fusion/inputs_2d | ||
runtime_params = |
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.
runtime_params = | |
runtime_params = warpx.do_dynamic_scheduling=0 warpx.serialize_initial_conditions=1 |
7e5e039
to
e2cb6dc
Compare
* Add 2D tests for proton boron fusion * Apply suggestions from review * Fix WarpX-tests.ini * Update benchmarks
This PR is based on #2450, which is based on #2330, so it should probably be reviewed once these PRs have been merged.
It adds the same automated tests as in #2450, but in 2D instead of 3D. The same analysis script is used to analyze both tests, with only minor modifications.
Putting the [WIP] tag until I have tested this on GPU.
Edit: tested on GPU so I'm removing the WIP tag.