Go to the documentation of this file.
   20 #ifndef LIBMESH_PARSED_FUNCTION_PARAMETER_H 
   21 #define LIBMESH_PARSED_FUNCTION_PARAMETER_H 
   25 #include "libmesh/libmesh_common.h" 
   26 #include "libmesh/parameter_accessor.h" 
   27 #include "libmesh/parsed_function.h" 
   28 #include "libmesh/auto_ptr.h"  
   45 template <
typename T=Number>
 
   61                           const std::string & param_name) :
 
   73   virtual void set (
const T & new_value) {
 
   80   virtual const T & 
get ()
 const {
 
   88   virtual std::unique_ptr<ParameterAccessor<T>> 
clone()
 const {
 
   89     return libmesh_make_unique<ParsedFunctionParameter<T>>(
_func, 
_name);
 
  104 #endif // LIBMESH_PARSED_FUNCTION_PARAMETER_H 
  
Accessor object allowing reading and modification of the independent variables in a parameter sensiti...
 
Accessor object allowing reading and modification of the independent variables in a parameter sensiti...
 
Output get_inline_value(const std::string &inline_var_name) const
 
virtual const T & get() const
Getter: get the value of the parameter we access.
 
The libMesh namespace provides an interface to certain functionality in the library.
 
virtual std::unique_ptr< ParameterAccessor< T > > clone() const
 
virtual ParameterAccessor< T > & operator=(T *)
A simple reseater won't work with a parsed function.
 
libMesh::Number _current_val
 
ParsedFunctionParameter(ParsedFunction< T > &func_ref, const std::string ¶m_name)
Constructor: take the function to be modified and the name of the inline variable within it which rep...
 
virtual void set(const T &new_value)
Setter: change the value of the parameter we access.
 
void set_inline_value(const std::string &inline_var_name, Output newval)
Changes the value of an inline variable.
 
ParsedFunction< T > & _func