We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6d06c5 commit f747da1Copy full SHA for f747da1
1 file changed
framework/src/utils/PeriodicBCHelper.C
@@ -16,7 +16,7 @@
16
#include "MooseMesh.h"
17
18
#include "libmesh/periodic_boundary.h"
19
-#include "libmesh/default_coupling.h"
+#include "libmesh/ghost_point_neighbors.h"
20
21
namespace Moose
22
{
@@ -78,9 +78,7 @@ PeriodicBCHelper::setupPeriodicBoundaries(FEProblemBase & problem)
78
const auto add_ghosting = [this](auto & problem)
79
80
auto & mesh = problem.mesh().getMesh();
81
- auto functor = std::make_shared<libMesh::DefaultCoupling>();
82
- functor->set_mesh(&mesh);
83
- functor->set_n_levels(1);
+ auto functor = std::make_shared<libMesh::GhostPointNeighbors>(mesh);
84
functor->set_periodic_boundaries(&getPeriodicBoundaries());
85
mesh.add_ghosting_functor(functor);
86
};
0 commit comments