19 params.
addClassDescription(
"Applies parsed functions to scalar entries held in reporters.");
28 paramError(
"scalar_reporter_names",
"Required parameter when using ParsedScalarReporter.");
GenericReal< is_ad > evaluate(SymFunctionPtr &, const std::string &object_name="")
Evaluate FParser object and check EvalError.
void paramError(const std::string ¶m, Args... args) const
Emits an error prefixed with the file and line number of the given param (from the input file) along ...
registerMooseObject("MooseApp", ParsedScalarReporter)
const ReporterMode REPORTER_MODE_ROOT
std::vector< const Real * > _scalar_reporter_data
input scalar reporter vectors
const InputParameters & parameters() const
Get the parameters of the object.
Reporter containing operation between scalars from another Reporter.
SymFunctionPtr _func_F
function parser object
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
std::vector< GenericReal< is_ad > > _func_params
Array to stage the parameters passed to the functions when calling Eval.
const bool _use_t
whether time is part of the parsed expression
ParsedScalarReporter(const InputParameters ¶meters)
static InputParameters validParams()
Reporter containing operation between vectors from another Reporter.
virtual void finalize() override
Finalize.
auto index_range(const T &sizable)
Real & _output_reporter
output scalar