20 #ifndef LIBMESH_PARSED_FUNCTION_PARAMETER_H 21 #define LIBMESH_PARSED_FUNCTION_PARAMETER_H 44 template <
typename T=Number>
60 const std::string & param_name) :
72 virtual void set (
const T & new_value) {
79 virtual const T &
get ()
const {
87 virtual std::unique_ptr<ParameterAccessor<T>>
clone()
const {
88 return std::unique_ptr<ParameterAccessor<T>>
104 #endif // LIBMESH_PARSED_FUNCTION_PARAMETER_H Stores a pointer to a parsed function and a string for the parameter.
virtual std::unique_ptr< ParameterAccessor< T > > clone() const
void set_inline_value(const std::string &inline_var_name, Output newval)
libMesh::Number _current_val
virtual ParameterAccessor< T > & operator=(T *)
ParsedFunction< T > & _func
ParsedFunctionParameter(ParsedFunction< T > &func_ref, const std::string ¶m_name)
Output get_inline_value(const std::string &inline_var_name) const
Base class for reading/writing sensitivity parameters.