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. ...
const T & getParam(const std::string &name) const
static InputParameters validParams()
static InputParameters validParams()
MutableCoefficientsFunctionInterface(const MooseObject *moose_object, const InputParameters ¶meters)
static InputParameters validParams()
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.
bool isParamValid(const std::string &name) const
void enforceSize(bool enforce)
Toggle whether the size of the coefficient array can be changed.