20 "supporting operations based on an array of coefficients");
22 params.
addParam<std::vector<Real>>(
"coefficients",
"Coefficients required by the function.");
Implementation of Function that memoizes (caches) former evaluations in an unordered map using a hash...
void invalidateCache()
Called by derived classes to invalidate the cache, perhaps due to a state change.
static InputParameters validParams()
const T & getParam(const std::string &name) const
bool isParamValid(const std::string &name) const
virtual void coefficientsChanged() override
Called when the coefficients have been changed.
MutableCoefficientsFunctionInterface(const MooseObject *moose_object, const InputParameters ¶meters)
static InputParameters validParams()
This class is designed to provide a uniform interface for any class that uses an array of coefficient...
static InputParameters validParams()
void enforceSize(bool enforce)
Toggle whether the size of the coefficient array can be changed.
void setCoefficients(const std::vector< Real > &new_coefficients)
Set the coefficients using a copy operation.