|
4 | 4 | #include <AMReX_CoordSys.H> |
5 | 5 | #include <AMReX_MultiFab.H> |
6 | 6 | #include <AMReX_Periodicity.H> |
| 7 | +#include <AMReX_REAL.H> |
7 | 8 |
|
8 | 9 | #include <sstream> |
9 | 10 | #include <string> |
@@ -194,10 +195,10 @@ void init_Geometry(py::module& m) |
194 | 195 | .def("setPeriodicity", &Geometry::setPeriodicity) |
195 | 196 | .def("coarsen", &Geometry::coarsen) |
196 | 197 | .def("refine", &Geometry::refine) |
197 | | - .def("outsideRoundOffDomain", py::overload_cast<AMREX_D_DECL(Real, Real, Real)> |
| 198 | + .def("outsideRoundOffDomain", py::overload_cast<AMREX_D_DECL(ParticleReal, ParticleReal, ParticleReal)> |
198 | 199 | (&Geometry::outsideRoundoffDomain, py::const_), |
199 | 200 | "Returns true if a point is outside the roundoff domain. All particles with positions inside the roundoff domain are sure to be mapped to cells inside the Domain() box. Note that the same need not be true for all points inside ProbDomain()") |
200 | | - .def("insideRoundOffDomain", py::overload_cast<AMREX_D_DECL(Real, Real, Real)> |
| 201 | + .def("insideRoundOffDomain", py::overload_cast<AMREX_D_DECL(ParticleReal, ParticleReal, ParticleReal)> |
201 | 202 | (&Geometry::insideRoundoffDomain, py::const_), |
202 | 203 | "Returns true if a point is inside the roundoff domain. All particles with positions inside the roundoff domain are sure to be mapped to cells inside the Domain() box. Note that the same need not be true for all points inside ProbDomain()") |
203 | 204 |
|
|
0 commit comments