| 
    libMesh
    
   | 
 
Accessor object allowing reading and modification of the independent variables in a parameter sensitivity calculation. More...
#include <parameter_accessor.h>
Public Member Functions | |
| virtual | ~ParameterAccessor () | 
| Virtual destructor - we'll be deleting subclasses from pointers-to-ParameterAccessor.  More... | |
| virtual void | set (const T &new_value)=0 | 
| Setter: change the value of the parameter we access.  More... | |
| virtual const T & | get () const =0 | 
| Getter: get the value of the parameter we access.  More... | |
| virtual ParameterAccessor< T > & | operator= (T *) | 
| Reseater: change the location of the parameter we access.  More... | |
| ParameterProxy< T > | operator* () | 
| Proxy: for backward compatibility, we allow codes to treat a ParameterAccessor as if it were a simple pointer-to-value.  More... | |
| ConstParameterProxy< T > | operator* () const | 
| virtual std::unique_ptr< ParameterAccessor< T > > | clone () const =0 | 
Accessor object allowing reading and modification of the independent variables in a parameter sensitivity calculation.
This is an abstract base class. Derived objects may simply modify the parameter value at some address in memory, or may call arbitrary setter/getter functions.
Base class for reading/writing sensitivity parameters.
Definition at line 55 of file parameter_accessor.h.
      
  | 
  inlinevirtual | 
Virtual destructor - we'll be deleting subclasses from pointers-to-ParameterAccessor.
Definition at line 62 of file parameter_accessor.h.
      
  | 
  pure virtual | 
Implemented in libMesh::ParameterMultiAccessor< T >, libMesh::ParameterMultiPointer< T >, libMesh::ParameterPointer< T >, libMesh::ParsedFEMFunctionParameter< T >, and libMesh::ParsedFunctionParameter< T >.
Referenced by libMesh::ParameterMultiAccessor< T >::push_back().
      
  | 
  pure virtual | 
Getter: get the value of the parameter we access.
Implemented in libMesh::ParameterMultiAccessor< T >, libMesh::ParameterMultiPointer< T >, libMesh::ParameterPointer< T >, libMesh::ParsedFEMFunctionParameter< T >, and libMesh::ParsedFunctionParameter< T >.
      
  | 
  inline | 
Proxy: for backward compatibility, we allow codes to treat a ParameterAccessor as if it were a simple pointer-to-value.
We can't safely allow "Number * n = parameter_vector[p]" to compile, but we can allow "*parameter_vector[p] += deltap" to work.
Definition at line 90 of file parameter_accessor.h.
      
  | 
  inline | 
Definition at line 92 of file parameter_accessor.h.
      
  | 
  inlinevirtual | 
Reseater: change the location of the parameter we access.
This is included for backward compatibility, but will be deprecated in some classes and not implemented in others.
Reimplemented in libMesh::ParameterPointer< T >, libMesh::ParameterMultiAccessor< T >, libMesh::ParameterMultiPointer< T >, libMesh::ParsedFEMFunctionParameter< T >, and libMesh::ParsedFunctionParameter< T >.
Definition at line 81 of file parameter_accessor.h.
      
  | 
  pure virtual | 
Setter: change the value of the parameter we access.
Implemented in libMesh::ParameterMultiAccessor< T >, libMesh::ParameterMultiPointer< T >, libMesh::ParameterPointer< T >, libMesh::ParsedFEMFunctionParameter< T >, and libMesh::ParsedFunctionParameter< T >.
 1.8.16