Skip to content

Commit

Permalink
AMReX: Update to latest development (#132)
Browse files Browse the repository at this point in the history
* AMReX: Update to latest development

Update to latest commit in `development`.

* Update Simplified Interfaces

Removed some SFINAE upstream in AMReX.
  • Loading branch information
ax3l authored May 31, 2023
1 parent 2712b9d commit f9b581a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cmake/dependencies/AMReX.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,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 "d65dd906bd53c83eab8c88ea0e9205aa6dc6410b"
set(pyAMReX_amrex_branch "07f87b0a9047a4306a056f60d71d6d49388a3497"
CACHE STRING
"Repository branch for pyAMReX_amrex_repo if(pyAMReX_amrex_internal)")

Expand Down
12 changes: 6 additions & 6 deletions src/Particle/ParticleTile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void make_ParticleTileData(py::module &m) {
.def_readonly("m_num_runtime_real", &ParticleTileDataType::m_num_runtime_real)
.def_readonly("m_num_runtime_int", &ParticleTileDataType::m_num_runtime_int)
.def("getSuperParticle", &ParticleTileDataType::template getSuperParticle<ParticleType>)
.def("setSuperParticle", &ParticleTileDataType::setSuperParticle)
.def("setSuperParticle", &ParticleTileDataType::template setSuperParticle<ParticleType>)
// setter & getter
.def("__setitem__", [](ParticleTileDataType &pdt, int const v,
SuperParticleType const value) { pdt.setSuperParticle(value, v); })
Expand Down Expand Up @@ -73,11 +73,11 @@ void make_ParticleTile(py::module &m, std::string allocstr)
.def("GetStructOfArrays", py::overload_cast<>(&ParticleTileType::GetStructOfArrays),
py::return_value_policy::reference_internal)
.def("empty", &ParticleTileType::empty)
.def("size", &ParticleTileType::template size<ParticleType>)
.def("numParticles", &ParticleTileType::template numParticles<ParticleType>)
.def("numRealParticles", &ParticleTileType::template numRealParticles<ParticleType>)
.def("numNeighborParticles", &ParticleTileType::template numNeighborParticles<ParticleType>)
.def("numTotalParticles", &ParticleTileType::template numTotalParticles<ParticleType>)
.def("size", &ParticleTileType::size)
.def("numParticles", &ParticleTileType::numParticles)
.def("numRealParticles", &ParticleTileType::numRealParticles)
.def("numNeighborParticles", &ParticleTileType::numNeighborParticles)
.def("numTotalParticles", &ParticleTileType::numTotalParticles)
.def("setNumNeighbors", &ParticleTileType::setNumNeighbors)
.def("getNumNeighbors", &ParticleTileType::getNumNeighbors)
.def("resize", &ParticleTileType::resize)
Expand Down

0 comments on commit f9b581a

Please sign in to comment.