From 6770e0b33fbfcf70b90c9ac8642a22131a4caeb1 Mon Sep 17 00:00:00 2001
From: ellis <eshoag2@illinois.edu>
Date: Sun, 24 Sep 2017 22:16:20 -0500
Subject: [PATCH] working

---
 grudge/execution.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/grudge/execution.py b/grudge/execution.py
index aa6ad23..9285cec 100644
--- a/grudge/execution.py
+++ b/grudge/execution.py
@@ -283,7 +283,6 @@ class ExecutionMapper(mappers.Evaluator,
         raise NotImplementedError("map_opposite_partition_face_swap")
 
         # TODO: Fetch these variables
-        local_mesh = None
         vol_discr = None
         group_factory = None
         cl_ctx = None
@@ -324,6 +323,7 @@ class ExecutionMapper(mappers.Evaluator,
 
             # Gather information to send to other ranks
             local_bdry = local_bdry_conns[i_remote_part].to_discr
+            local_mesh = local_bdry_conns[i_remote_part].from_discr.mesh
             local_adj_groups = [local_mesh.facial_adjacency_groups[i][None]
                                 for i in range(len(local_mesh.groups))]
             local_batches = [local_bdry_conns[i_remote_part].groups[i].batches
-- 
GitLab