Skip to content

Commit

Permalink
Register the nearest point average to a UO base. The two bases it cou…
Browse files Browse the repository at this point in the history
…ld have inherited from its template arguments are PP and VPP, and this object is meant to be a UO

Refs idaholab#18536
  • Loading branch information
GiudGiud authored and MengnanLi91 committed Jan 4, 2023
1 parent a8d3d6a commit 57453fb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions framework/src/userobject/NearestPointAverage.C
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ NearestPointAverage::validParams()
InputParameters params =
NearestPointBase<ElementAverageValue, ElementVariableVectorPostprocessor>::validParams();

// The base type (ElementAverageValue) and the user object type (ElementVariableVPP) are
// postprocessor and VPP respectively and this object is meant to be a UO
params.set<std::string>("_moose_base") = "UserObject";

params.addClassDescription(
"Compute element variable averages for nearest-point based subdomains");

Expand Down

0 comments on commit 57453fb

Please sign in to comment.