void EigenSparseVector<T>::insert (const DenseSubVector<T>& V, const std::vector<numeric_index_type>& dof_indices) { libmesh_assert_equal_to (V.size(), dof_indices.size()); for (unsigned int i=0; i<V.size(); i++) this->set (dof_indices[i], V(i)); }
void EpetraVector<T>::insert (const DenseSubVector<T>& v, const std::vector<unsigned int>& dof_indices) { libmesh_assert_equal_to (v.size(), dof_indices.size()); for (unsigned int i=0; i < v.size(); ++i) this->set (dof_indices[i], v(i)); }
void DistributedVector<T>::insert (const DenseSubVector<T>& V, const std::vector<numeric_index_type>& dof_indices) { libmesh_assert_equal_to (V.size(), dof_indices.size()); libmesh_assert (this->initialized()); libmesh_assert_equal_to (_values.size(), _local_size); libmesh_assert_equal_to ((_last_local_index - _first_local_index), _local_size); for (unsigned int i=0; i<V.size(); i++) this->set (dof_indices[i], V(i)); }