20 #ifndef LIBMESH_PARAMETER_POINTER_H 21 #define LIBMESH_PARAMETER_POINTER_H 25 #include "libmesh/libmesh_common.h" 26 #include "libmesh/parameter_accessor.h" 46 template <
typename T=Number>
57 virtual void set (
const T & new_value)
override 63 virtual const T &
get ()
const override 69 virtual std::unique_ptr<ParameterAccessor<T>>
clone()
const override 71 return std::make_unique<ParameterPointer<T>>(
_ptr);
80 #endif // LIBMESH_PARAMETER_POINTER_H ParameterPointer(T *param_ptr)
Constructor: take the raw pointer to the parameter.
Accessor object allowing reading and modification of the independent variables in a parameter sensiti...
The libMesh namespace provides an interface to certain functionality in the library.
virtual std::unique_ptr< ParameterAccessor< T > > clone() const override
Accessor object allowing reading and modification of the independent variables in a parameter sensiti...