dealii::internal::VectorOperations::Vector_copy<Number, Number> copier(
in_vector.values.get(), this->values.get());
internal::VectorOperations::parallel_for(copier,
- 0,
+ static_cast<size_type>(0),
this->size(),
this->thread_loop_partitioner);
dealii::internal::VectorOperations::Vector_copy<Number, Number2> copier(
in_vector.values.get(), this->values.get());
internal::VectorOperations::parallel_for(copier,
- 0,
+ static_cast<size_type>(0),
this->size(),
this->thread_loop_partitioner);
internal::VectorOperations::Vectorization_multiply_factor<Number>
vector_multiply(this->values.get(), factor);
internal::VectorOperations::parallel_for(vector_multiply,
- 0,
+ static_cast<size_type>(0),
this->size(),
this->thread_loop_partitioner);
}
void
- operator()(const tbb::blocked_range<unsigned int> &range) const
+ operator()(const tbb::blocked_range<size_type> &range) const
{
const size_type r_begin = start + range.begin() * chunk_size;
const size_type r_end = std::min(start + range.end() * chunk_size, end);
partitioner->acquire_one_partitioner();
TBBForFunctor<Functor> generic_functor(functor, start, end);
- parallel::internal::parallel_for(
- 0U, generic_functor.n_chunks, generic_functor, 1, tbb_partitioner);
+ parallel::internal::parallel_for(static_cast<size_type>(0),
+ static_cast<size_type>(
+ generic_functor.n_chunks),
+ generic_functor,
+ 1,
+ tbb_partitioner);
partitioner->release_one_partitioner(tbb_partitioner);
}
else if (vec_size > 0)
* [range.begin(), range.end()).
*/
void
- operator()(const tbb::blocked_range<unsigned int> &range) const
+ operator()(const tbb::blocked_range<size_type> &range) const
{
for (size_type i = range.begin(); i < range.end(); ++i)
accumulate_recursive(op,
TBBReduceFunctor<Operation, ResultType> generic_functor(op,
start,
end);
- parallel::internal::parallel_for(
- 0U, generic_functor.n_chunks, generic_functor, 1, tbb_partitioner);
+ parallel::internal::parallel_for(static_cast<size_type>(0),
+ static_cast<size_type>(
+ generic_functor.n_chunks),
+ generic_functor,
+ 1,
+ tbb_partitioner);
partitioner->release_one_partitioner(tbb_partitioner);
result = generic_functor.do_sum();
}