19 params.
addRequiredParam<FunctionName>(
"function",
"The analytic solution to compare against");
20 params.
addClassDescription(
"Compute the square of the error as the difference between an unknown " 21 "variable and an analytical solution.");
AnalyticalIndicator(const InputParameters ¶meters)
static InputParameters validParams()
registerMooseObject("MooseApp", AnalyticalIndicator)
virtual Real computeQpIntegral() override
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MooseArray< Point > & _q_point
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...
const VariableValue & _u
Holds the solution at current quadrature points.