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);
This is a base class for other classes which compute post-processed values based on nodal solution va...
virtual void finalize() override
This is called after execute() and after threadJoin()! This is probably where you want to do MPI comm...
NodalSum(const InputParameters ¶meters)
static InputParameters validParams()
void threadJoin(const UserObject &y) override
Must override.
const VariableValue & _u
Holds the solution at current quadrature points.
registerMooseObject("MooseApp", NodalSum)
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
void gatherSum(T &value)
Gather the parallel sum of the variable passed in.
const unsigned int _qp
Quadrature point index.
virtual void execute() override
Execute method.
Computes a sum of the nodal values of the coupled variable.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real getValue() const override
This will get called to actually grab the final value the postprocessor has calculated.
static InputParameters validParams()
Base class for user-specific data.