From 57144657f6c536b326d72c65c7f66e6da3033c23 Mon Sep 17 00:00:00 2001 From: Alexandru Fikl Date: Thu, 2 May 2019 20:51:51 -0500 Subject: [PATCH] return mesh from refine_uniformly --- meshmode/mesh/refinement/no_adjacency.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshmode/mesh/refinement/no_adjacency.py b/meshmode/mesh/refinement/no_adjacency.py index 7ab02e70..70279bd9 100644 --- a/meshmode/mesh/refinement/no_adjacency.py +++ b/meshmode/mesh/refinement/no_adjacency.py @@ -135,7 +135,7 @@ class RefinerWithoutAdjacency(object): def refine_uniformly(self): flags = np.ones(self._current_mesh.nelements, dtype=bool) - self.refine(flags) + return self.refine(flags) # {{{ refinement top-level -- GitLab