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