diff --git a/src/Base/Geometry.cpp b/src/Base/Geometry.cpp index 9b302325..2cb1bc2c 100644 --- a/src/Base/Geometry.cpp +++ b/src/Base/Geometry.cpp @@ -4,6 +4,7 @@ #include #include #include +#include #include #include @@ -194,10 +195,10 @@ void init_Geometry(py::module& m) .def("setPeriodicity", &Geometry::setPeriodicity) .def("coarsen", &Geometry::coarsen) .def("refine", &Geometry::refine) - .def("outsideRoundOffDomain", py::overload_cast + .def("outsideRoundOffDomain", py::overload_cast (&Geometry::outsideRoundoffDomain, py::const_), "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()") - .def("insideRoundOffDomain", py::overload_cast + .def("insideRoundOffDomain", py::overload_cast (&Geometry::insideRoundoffDomain, py::const_), "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()")