12 #include "metaphysicl/raw_type.h" 23 "The approximate functor. This functor has to be an " 24 "ADFunctor, like a variable or an ADFunction");
25 params.
addRequiredParam<MooseFunctorName>(
"exact",
"The analytic solution to compare against");
27 "Computes L2 error between an 'approximate' functor and an 'exact' functor");
34 _approx(getFunctor<
ADReal>(
"approximate")),
This postprocessor computes a volume integral of the specified variable.
Moose::GenericType< Real, is_ad > GenericReal
static InputParameters validParams()
registerMooseObject("MooseApp", ElementL2FunctorError)
virtual Real computeQpIntegral() override
virtual Real getValue() const override
This will get called to actually grab the final value the postprocessor has calculated.
DualNumber< Real, DNDerivativeType, true > ADReal
static InputParameters validParams()
Argument for requesting functor evaluation at a quadrature point location in an element.
virtual Real getValue() const override
This will get called to actually grab the final value the postprocessor has calculated.
Computes L2 error between an 'approximate' functor and an 'exact' functor.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
CTSub CT_OPERATOR_BINARY CTMul CTCompareLess CTCompareGreater CTCompareEqual _arg template * sqrt(_arg)) *_arg.template D< dtag >()) CT_SIMPLE_UNARY_FUNCTION(tanh
ElementL2FunctorErrorTempl(const InputParameters ¶meters)