Skip to content

Commit

Permalink
GhostPointNeighbors fix for --disable-amr
Browse files Browse the repository at this point in the history
This was regressed last year in libMesh#2725
  • Loading branch information
roystgnr committed Jul 21, 2021
1 parent 329cfbb commit 544036e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/base/ghost_point_neighbors.C
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,17 @@ void GhostPointNeighbors::operator()
if (!equal_level_periodic_neigh || equal_level_periodic_neigh == remote_elem)
continue;

#ifdef LIBMESH_ENABLE_AMR
equal_level_periodic_neigh->active_family_tree_by_topological_neighbor(
active_periodic_neighbors,
elem,
*_mesh,
*point_locator,
_periodic_bcs,
/*reset=*/true);
#else
active_periodic_neighbors = { equal_level_periodic_neigh };
#endif

for (const Elem * const active_periodic_neigh : active_periodic_neighbors)
{
Expand Down

0 comments on commit 544036e

Please sign in to comment.