20#ifndef LIBMESH_PARAMETER_POINTER_H
21#define LIBMESH_PARAMETER_POINTER_H
25#include "libmesh/libmesh_common.h"
26#include "libmesh/parameter_accessor.h"
46template <
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);
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...
ParameterPointer(T *param_ptr)
Constructor: take the raw pointer to the parameter.
virtual void set(const T &new_value) override
Setter: change the value of the parameter we access.
virtual const T & get() const override
Getter: get the value of the parameter we access.
virtual std::unique_ptr< ParameterAccessor< T > > clone() const override
The libMesh namespace provides an interface to certain functionality in the library.