20 "The L2-norm of the difference between a variable and a function computed at nodes.");
21 params.
addRequiredParam<FunctionName>(
"function",
"The analytic solution to compare against");
registerMooseObject("MooseApp", NodalL2Error)
virtual Real value(Real t, const Point &p) const
Override this to evaluate the scalar function at point (t,x,y,z), by default this returns zero,...
virtual void finalize() override
This is called after execute() and after threadJoin()! This is probably where you want to do MPI comm...
virtual Real getValue() const override
This will get called to actually grab the final value the postprocessor has calculated.
virtual void execute() override
Execute method.
virtual void initialize() override
Called before execute() is ever called so that data can be cleared.
static InputParameters validParams()
virtual void threadJoin(const UserObject &y) override
Must override.
NodalL2Error(const InputParameters ¶meters)
const Node *const & _current_node
Reference to current node pointer.
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.