Base class for function objects.
std::shared_ptr< SymFunction > SymFunctionPtr
Shorthand for an smart pointer to an autodiff function parser object.
std::vector< unsigned int > _function_indices
std::vector< std::string > _convergence_symbol_names
const std::string _convergence_expression
Expression to parse for convergence.
std::vector< Real > _convergence_function_params
Convergence function parameters.
static InputParameters validParams()
SymFunctionPtr _divergence_function
Parsed function for divergence.
void updateSymbolValues(unsigned int iter)
Updates non-constant symbol values.
void updateFunctionSymbolValues()
Evaluates convergence from a parsed expression.
virtual void initialSetup() override
Gets called at the beginning of the simulation before this object is asked to do its job...
void updatePostprocessorSymbolValues()
bool convertRealToBool(Real value, const std::string ¶m) const
Converts a Real value to a bool.
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
void initializeFunctionSymbol(unsigned int i)
void initializePostprocessorSymbol(unsigned int i)
std::vector< unsigned int > _pp_indices
Real value(unsigned n, unsigned alpha, unsigned beta, Real x)
Base class for convergence criteria.
void updateConvergenceSymbolValues(unsigned int iter)
ParsedConvergence(const InputParameters ¶meters)
std::vector< const PostprocessorValue * > _pp_values
Post-processor values in the provided symbols.
std::vector< unsigned int > _convergence_indices
usingFunctionParserUtilsMembers(false)
MooseConvergenceStatus
Status returned by calls to checkConvergence.
std::vector< std::string > _symbol_values
Corresponding symbol values (Convergence, Function, Postprocessor, or constant)
std::vector< Convergence * > _convergences
Convergences in the provided symbols.
virtual MooseConvergenceStatus checkConvergence(unsigned int iter) override
Returns convergence status.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void initializeSymbols()
Initializes symbols used in the parsed expression.
SymFunctionPtr makeParsedFunction(const std::string &expression)
Makes a parsed function.
void initializeConstantSymbol(unsigned int i)
void initializeConvergenceSymbol(unsigned int i)
const InputParameters & parameters() const
Get the parameters of the object.
std::vector< Real > _divergence_function_params
Divergence function parameters.
FEProblemBase & _fe_problem
std::vector< Function * > _functions
Functions in the provided symbols.
SymFunctionPtr _convergence_function
Parsed function for convergence.
std::vector< std::string > _symbol_names
User-defined symbols to use in parsed expression.
const std::string _divergence_expression
Expression to parse for divergence.