-
Notifications
You must be signed in to change notification settings - Fork 10
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
bboxWrap correction #108
bboxWrap correction #108
Conversation
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.
Good catch. It looks like my former self broke this during Kokkos-ification. Thanks for the fix. A few small comments are below.
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.
Thanks for the edits. I added one more comment regarding Kokkos::Experimental
.
/runtests |
Test Result: failure (details) |
/runtests |
The
bbcxWrap()
was initialized with zero, resulting inget_bounding_box
orfind_bounding_box
giving wrong answers when the mesh lives on only one side of an axis. Instead of zero, I usedKokkos::Experimental::finite_min_v
andfinite_max_v
formax
andmin
respectively. I also added two test cases for bbox inunit_mesh.cpp
.