Skip to content

Commit

Permalink
Merge pull request #24620 from brandall25/issue24573
Browse files Browse the repository at this point in the history
Remove MooseGhostPointNeighbors src and header
  • Loading branch information
lindsayad authored Sep 18, 2023
2 parents 83eb82b + c5e35de commit de78f29
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 126 deletions.
43 changes: 0 additions & 43 deletions framework/include/relationshipmanagers/MooseGhostPointNeighbors.h

This file was deleted.

6 changes: 3 additions & 3 deletions framework/src/actions/AdaptivityAction.C
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ AdaptivityAction::act()

else if (_current_task == "add_geometric_rm")
{
auto rm_params = _factory.getValidParams("MooseGhostPointNeighbors");
auto rm_params = _factory.getValidParams("ElementPointNeighborLayers");

rm_params.set<std::string>("for_whom") = "Adaptivity";
rm_params.set<MooseMesh *>("mesh") = _mesh.get();
Expand All @@ -134,15 +134,15 @@ AdaptivityAction::act()
if (rm_params.areAllRequiredParamsValid())
{
auto rm_obj = _factory.create<RelationshipManager>(
"MooseGhostPointNeighbors", "adaptivity_geometric_ghosting", rm_params);
"ElementPointNeighborLayers", "adaptivity_geometric_ghosting", rm_params);

// Delete the resources created on behalf of the RM if it ends up not being added to the
// App.
if (!_app.addRelationshipManager(rm_obj))
_factory.releaseSharedObjects(*rm_obj);
}
else
mooseError("Invalid initialization of MooseGhostPointNeighbors");
mooseError("Invalid initialization of ElementPointNeighborLayers");
}

else if (_current_task == "setup_adaptivity")
Expand Down
6 changes: 3 additions & 3 deletions framework/src/actions/SetAdaptivityOptionsAction.C
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ SetAdaptivityOptionsAction::act()

else if (_current_task == "add_geometric_rm")
{
auto rm_params = _factory.getValidParams("MooseGhostPointNeighbors");
auto rm_params = _factory.getValidParams("ElementPointNeighborLayers");

rm_params.set<std::string>("for_whom") = "Adaptivity";
rm_params.set<MooseMesh *>("mesh") = _mesh.get();
Expand All @@ -107,15 +107,15 @@ SetAdaptivityOptionsAction::act()
if (rm_params.areAllRequiredParamsValid())
{
auto rm_obj = _factory.create<RelationshipManager>(
"MooseGhostPointNeighbors", "adaptivity_geometric_ghosting", rm_params);
"ElementPointNeighborLayers", "adaptivity_geometric_ghosting", rm_params);

// Delete the resources created on behalf of the RM if it ends up not being added to the
// App.
if (!_app.addRelationshipManager(rm_obj))
_factory.releaseSharedObjects(*rm_obj);
}
else
mooseError("Invalid initialization of MooseGhostPointNeighbors");
mooseError("Invalid initialization of ElementPointNeighborLayers");
}

else if (_current_task == "set_adaptivity_options")
Expand Down
2 changes: 1 addition & 1 deletion framework/src/outputs/Exodus.C
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Exodus::validParams()
params.addParam<bool>("write_hdf5", false, "Enables HDF5 output format for Exodus files.");

// Need a layer of geometric ghosting for mesh serialization
params.addRelationshipManager("MooseGhostPointNeighbors",
params.addRelationshipManager("ElementPointNeighborLayers",
Moose::RelationshipManagerType::GEOMETRIC);

// Return the InputParameters
Expand Down
2 changes: 1 addition & 1 deletion framework/src/outputs/GMVOutput.C
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ GMVOutput::validParams()
params.addClassDescription("Object for outputting data in the GMV format");

// Need a layer of geometric ghosting for mesh serialization
params.addRelationshipManager("MooseGhostPointNeighbors",
params.addRelationshipManager("ElementPointNeighborLayers",
Moose::RelationshipManagerType::GEOMETRIC);

// Return the InputParameters
Expand Down
2 changes: 1 addition & 1 deletion framework/src/outputs/Tecplot.C
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Tecplot::validParams()
"If true, append to an existing ASCII file rather than creating a new file each time");

// Need a layer of geometric ghosting for mesh serialization
params.addRelationshipManager("MooseGhostPointNeighbors",
params.addRelationshipManager("ElementPointNeighborLayers",
Moose::RelationshipManagerType::GEOMETRIC);

// Add description for the Tecplot class
Expand Down
74 changes: 0 additions & 74 deletions framework/src/relationshipmanagers/MooseGhostPointNeighbors.C

This file was deleted.

0 comments on commit de78f29

Please sign in to comment.