28 : _is_shallow_copy(false)
32 for (std::size_t i=0; i != params.size(); ++i)
40 const std::size_t Np = this->
_params.size();
44 for (std::size_t i=0; i != Np; ++i)
65 const std::size_t Np = this->
_params.size();
66 libmesh_assert_equal_to (target.
_params.size(), Np);
68 for (std::size_t i=0; i != Np; ++i)
69 *target[i] = *(*
this)[i];
78 const std::size_t old_size = this->
_params.size();
83 for (std::size_t i=s; i < old_size; ++i)
88 for (std::size_t i=old_size; i < s; ++i)
101 for (std::size_t i=0; i != s; ++i)
110 const std::size_t Np = this->
_params.size();
111 for (std::size_t i=0; i != Np; ++i)
120 const std::size_t Np = this->
_params.size();
121 libmesh_assert_equal_to (a.
_params.size(), Np);
122 for (std::size_t i=0; i != Np; ++i)
123 *(*
this)[i] += *a[i];
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.
Stores/modifies a user-provided pointer to a parameter.
std::vector< ParameterAccessor< Number > * > _params
ParameterVector & operator*=(const Number a)
std::vector< Number > _my_data
ParameterVector & operator+=(const ParameterVector &a)
void value_copy(ParameterVector &target) const
void shallow_copy(ParameterVector &target) const