20 #ifndef LIBMESH_PARAMETER_VECTOR_H 21 #define LIBMESH_PARAMETER_VECTOR_H 98 void resize(std::size_t s);
143 std::vector<ParameterAccessor<Number> *>
_params;
188 libmesh_assert(new_accessor.get());
189 _params.push_back(new_accessor.release());
197 libmesh_assert_greater (
_params.size(), i);
207 libmesh_assert_greater (
_params.size(), i);
214 #endif // LIBMESH_PARAMETER_VECTOR_H
const ParameterAccessor< Number > & operator[](std::size_t i) const
void resize(std::size_t s)
void deep_copy(ParameterVector &target) const
void deep_resize(std::size_t s)
Specifies parameters for parameter sensitivity calculations.
std::vector< ParameterAccessor< Number > * > _params
ParameterVector & operator*=(const Number a)
void push_back(std::unique_ptr< ParameterAccessor< Number >> new_accessor)
std::vector< Number > _my_data
ParameterVector & operator+=(const ParameterVector &a)
void value_copy(ParameterVector &target) const
void shallow_copy(ParameterVector &target) const
Base class for reading/writing sensitivity parameters.