From 625f69134441f77df976c953f788a7a9e64f8a21 Mon Sep 17 00:00:00 2001 From: domfournier Date: Wed, 19 Feb 2025 09:46:58 -0800 Subject: [PATCH 1/2] Change reference to get_contaning_cells --- simpeg/maps.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simpeg/maps.py b/simpeg/maps.py index 3361fe725a..e2ebdd6699 100644 --- a/simpeg/maps.py +++ b/simpeg/maps.py @@ -6238,7 +6238,7 @@ def projection(self): Set the projection matrix with partial volumes """ if getattr(self, "_projection", None) is None: - in_local = self.local_mesh._get_containing_cell_indexes( + in_local = self.local_mesh.get_containing_cells( self.global_mesh.cell_centers ) @@ -6257,7 +6257,7 @@ def projection(self): if self.enforce_active: self.local_active[ - self.local_mesh._get_containing_cell_indexes( + self.local_mesh.get_containing_cells( self.global_mesh.cell_centers[~self.global_active, :] ) ] = False From c771234742cc9bd07de4aef25cfb85f30682b354 Mon Sep 17 00:00:00 2001 From: domfournier Date: Fri, 21 Feb 2025 21:40:24 -0800 Subject: [PATCH 2/2] Bump discretize --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 0b249948ac..ff16af7ed9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,7 @@ authors = [ keywords = ["geophysics", "inverse problem"] dependencies = [ - "discretize>=0.10.0", + "discretize>=0.11.0", "empymod>=2.0.0", "geoana>=0.5.0", "geoh5py>=0.11.0a1, <0.12",