Closed Yurlungur closed 2 years ago
Now have tested it and it seems to behave. At least for unit tests. I had to make SMALL
a function or cuda yelled at me.
@lroberts36 @brryan @jdolence with the parent branch now merged, this is ready for review.
I just merged in main. Hopefully that fixes the weirdness with #63?
Okay @lroberts36 I also renamed SMALL
to EPS
and added a new SMALL
corresponding to std::numeric_limits<T>::min
. I also pulled a few direct access to these constexprs out and replaced them with the appropriate robustify functions.
Thanks for the review! Merging.
In this PR I do some cleanup suggested by @brryan in MR #63 . Note this is based off of that branch, so we need to merge that one first.
In particular I move
Geometry::Utils::ratio
intorobust.hpp
. I also combine it with theratio
function inclosure.hpp
. I believe my combination should work, but @lroberts36 should double check me.Finally I fix the weird difference between Phoebus boundary condition naming and Parthenon boundary condition naming, so the phoebus names are consistent with the parthenon ones.
WIP because I haven't had time to do any testing.