20 params.
set<
bool>(
"unique_node_execute") =
true;
23 "variable. Note: This object sets the default \"unique_node_execute\" "
24 "flag to true to avoid double counting nodes between shared blocks.");
60 const auto & pps =
static_cast<const NodalSum &
>(y);
registerMooseObject("MooseApp", NodalSum)
Computes a sum of the nodal values of the coupled variable.
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
void threadJoin(const UserObject &y) override
Must override.
virtual void execute() override
Execute method.
virtual void finalize() override
This is called after execute() and after threadJoin()! This is probably where you want to do MPI comm...
static InputParameters validParams()
virtual Real getValue() const override
This will get called to actually grab the final value the postprocessor has calculated.
NodalSum(const InputParameters ¶meters)
const unsigned int _qp
Quadrature point index.
This is a base class for other classes which compute post-processed values based on nodal solution va...
const VariableValue & _u
Holds the solution at current quadrature points.
static InputParameters validParams()
void gatherSum(T &value)
Gather the parallel sum of the variable passed in.
Base class for user-specific data.