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

Use physical Z layer bounds to set nucleation volume in placeNuclei and associated unit test #360

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

MattRolchigo
Copy link
Collaborator

Fixup of #355

@@ -142,6 +143,8 @@ struct Nucleation {
nuclei_x(n_event) = Kokkos::round((nuclei_x_unrounded - grid.x_min) / grid.deltax);
nuclei_y(n_event) = Kokkos::round((nuclei_y_unrounded - grid.y_min) / grid.deltax);
nuclei_z(n_event) = Kokkos::round((nuclei_z_unrounded - grid.z_min_layer[layernumber]) / grid.deltax);
std::cout << "Nuclei has " << nuclei_x(n_event) << ", " << nuclei_y(n_event) << ", "
Copy link
Collaborator

Choose a reason for hiding this comment

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

Printing on all ranks?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Definitely was leftover from when I was debugging the unit test and wanted it to print out the locations of the nuclei

@streeve streeve added the bug Something isn't working label Jun 14, 2024
@MattRolchigo MattRolchigo merged commit 58f150e into LLNL:master Jun 14, 2024
13 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants