20 #ifndef LIBMESH_PARSED_FEM_FUNCTION_PARAMETER_H 21 #define LIBMESH_PARSED_FEM_FUNCTION_PARAMETER_H 32 template <
typename T>
class ParsedFEMFunction;
46 template <
typename T=Number>
62 const std::string & param_name) :
74 virtual void set (
const T & new_value) {
81 virtual const T &
get ()
const {
89 virtual std::unique_ptr<ParameterAccessor<T>>
clone()
const {
90 return std::unique_ptr<ParameterAccessor<T>>
106 #endif // LIBMESH_PARSED_FEM_FUNCTION_PARAMETER_H void set_inline_value(const std::string &inline_var_name, Output newval)
virtual ParameterAccessor< T > & operator=(T *)
ParsedFEMFunctionParameter(ParsedFEMFunction< T > &func_ref, const std::string ¶m_name)
ParsedFEMFunction< T > & _func
Output get_inline_value(const std::string &inline_var_name) const
libMesh::Number _current_val
virtual std::unique_ptr< ParameterAccessor< T > > clone() const
Base class for reading/writing sensitivity parameters.
Stores a pointer to a ParsedFEMFunction and a string for the parameter.