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

AMReX: Update to latest development #352

Merged
merged 2 commits into from
Aug 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmake/dependencies/AMReX.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ option(pyAMReX_amrex_internal "Download & build AMReX" ON)
set(pyAMReX_amrex_repo "https://github.com/AMReX-Codes/amrex.git"
CACHE STRING
"Repository URI to pull and build AMReX from if(pyAMReX_amrex_internal)")
set(pyAMReX_amrex_branch "24.08"
set(pyAMReX_amrex_branch "e792933f9561c9ab0e47238c041a6c09818f0908"
CACHE STRING
"Repository branch for pyAMReX_amrex_repo if(pyAMReX_amrex_internal)")

Expand Down
5 changes: 2 additions & 3 deletions src/Base/Box.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,14 +147,13 @@ void init_Box(py::module &m) {
.def_property_readonly("volume", &Box::volume)
.def_property_readonly("the_unit_box", &Box::TheUnitBox)
.def_property_readonly("is_square", &Box::isSquare)

.def("contains",
py::overload_cast< IntVect const & >(&Box::contains, py::const_),
[](Box const & bx, IntVect const & p){ return bx.contains(p); },
py::arg("p"),
"Returns true if argument is contained within Box."
)
.def("strictly_contains",
py::overload_cast< IntVect const & >(&Box::strictly_contains, py::const_),
[](Box const & bx, IntVect const & p){ return bx.strictly_contains(p); },
py::arg("p"),
"Returns true if argument is strictly contained within Box."
)
Expand Down
Loading