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

Add TestEm3 Stepper and default RNG to XORWOW #427

Merged
merged 5 commits into from
May 17, 2022

Conversation

sethrj
Copy link
Member

@sethrj sethrj commented May 17, 2022

Adds the ability to load a Geant4 model into a unit test, and adds a simple host and device test for the Stepper. To aid in cross-platform debugging, default the RNG to the in-house XORWOW (I verified the kernels are identical; it's just the state setup that's changing).

Also adds test of energy loss calculation before I break it like I did in #425 .

@sethrj sethrj added core Software engineering infrastructure integration labels May 17, 2022
@sethrj sethrj requested a review from amandalund May 17, 2022 00:56
Copy link
Contributor

@amandalund amandalund left a comment

Choose a reason for hiding this comment

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

More PR mitosis :) ..thanks for splitting this off too @sethrj, looks great!

#if !CELERITAS_USE_GEANT4
# define TestEm3Test DISABLED_TestEm3Test
#endif
class TestEm3Test : public celeritas_test::TestEm3Base, public StepperTest
Copy link
Contributor

Choose a reason for hiding this comment

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

almost a palindrome

@sethrj sethrj merged commit 63baed7 into celeritas-project:master May 17, 2022
@sethrj sethrj deleted the geant-stepper-test branch May 17, 2022 08:26
@sethrj sethrj added the enhancement New feature or request label Feb 18, 2023
@sethrj sethrj added documentation Documentation, examples, tests, and CI and removed core Software engineering infrastructure labels Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation, examples, tests, and CI enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants