template <typename Functor>
void
parallel_for(
- Functor & functor,
- const size_type start,
- const size_type end,
- const std::shared_ptr<parallel::internal::TBBPartitioner> &partitioner)
+ Functor & functor,
+ const size_type start,
+ const size_type end,
+ const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner>
+ &partitioner)
{
#ifdef DEAL_II_WITH_THREADS
const size_type vec_size = end - start;
// vector entries). The number of chunks here is calculated inside
// TBBForFunctor. See also GitHub issue #2496 for further discussion
// of this strategy.
- parallel::internal::parallel_for(static_cast<size_type>(0),
- static_cast<size_type>(
- generic_functor.n_chunks),
- generic_functor,
- 1,
- tbb_partitioner);
+ ::dealii::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)
void
operator()(const size_type begin, const size_type end) const
{
- if (parallel::internal::EnableOpenMPSimdFor<Number>::value)
+ if (::dealii::parallel::internal::EnableOpenMPSimdFor<Number>::value)
{
DEAL_II_OPENMP_SIMD_PRAGMA
for (size_type i = begin; i < end; ++i)
void
operator()(const size_type begin, const size_type end) const
{
- if (parallel::internal::EnableOpenMPSimdFor<Number>::value)
+ if (::dealii::parallel::internal::EnableOpenMPSimdFor<Number>::value)
{
DEAL_II_OPENMP_SIMD_PRAGMA
for (size_type i = begin; i < end; ++i)
void
operator()(const size_type begin, const size_type end) const
{
- if (parallel::internal::EnableOpenMPSimdFor<Number>::value)
+ if (::dealii::parallel::internal::EnableOpenMPSimdFor<Number>::value)
{
DEAL_II_OPENMP_SIMD_PRAGMA
for (size_type i = begin; i < end; ++i)
void
operator()(const size_type begin, const size_type end) const
{
- if (parallel::internal::EnableOpenMPSimdFor<Number>::value)
+ if (::dealii::parallel::internal::EnableOpenMPSimdFor<Number>::value)
{
DEAL_II_OPENMP_SIMD_PRAGMA
for (size_type i = begin; i < end; ++i)
void
operator()(const size_type begin, const size_type end) const
{
- if (parallel::internal::EnableOpenMPSimdFor<Number>::value)
+ if (::dealii::parallel::internal::EnableOpenMPSimdFor<Number>::value)
{
DEAL_II_OPENMP_SIMD_PRAGMA
for (size_type i = begin; i < end; ++i)
void
operator()(const size_type begin, const size_type end) const
{
- if (parallel::internal::EnableOpenMPSimdFor<Number>::value)
+ if (::dealii::parallel::internal::EnableOpenMPSimdFor<Number>::value)
{
DEAL_II_OPENMP_SIMD_PRAGMA
for (size_type i = begin; i < end; ++i)
void
operator()(const size_type begin, const size_type end) const
{
- if (parallel::internal::EnableOpenMPSimdFor<Number>::value)
+ if (::dealii::parallel::internal::EnableOpenMPSimdFor<Number>::value)
{
DEAL_II_OPENMP_SIMD_PRAGMA
for (size_type i = begin; i < end; ++i)
void
operator()(const size_type begin, const size_type end) const
{
- if (parallel::internal::EnableOpenMPSimdFor<Number>::value)
+ if (::dealii::parallel::internal::EnableOpenMPSimdFor<Number>::value)
{
DEAL_II_OPENMP_SIMD_PRAGMA
for (size_type i = begin; i < end; ++i)
void
operator()(const size_type begin, const size_type end) const
{
- if (parallel::internal::EnableOpenMPSimdFor<Number>::value)
+ if (::dealii::parallel::internal::EnableOpenMPSimdFor<Number>::value)
{
DEAL_II_OPENMP_SIMD_PRAGMA
for (size_type i = begin; i < end; ++i)
void
operator()(const size_type begin, const size_type end) const
{
- if (parallel::internal::EnableOpenMPSimdFor<Number>::value)
+ if (::dealii::parallel::internal::EnableOpenMPSimdFor<Number>::value)
{
DEAL_II_OPENMP_SIMD_PRAGMA
for (size_type i = begin; i < end; ++i)
void
operator()(const size_type begin, const size_type end) const
{
- if (parallel::internal::EnableOpenMPSimdFor<Number>::value)
+ if (::dealii::parallel::internal::EnableOpenMPSimdFor<Number>::value)
{
DEAL_II_OPENMP_SIMD_PRAGMA
for (size_type i = begin; i < end; ++i)
void
operator()(const size_type begin, const size_type end) const
{
- if (parallel::internal::EnableOpenMPSimdFor<Number>::value)
+ if (::dealii::parallel::internal::EnableOpenMPSimdFor<Number>::value)
{
DEAL_II_OPENMP_SIMD_PRAGMA
for (size_type i = begin; i < end; ++i)
void
operator()(const size_type begin, const size_type end) const
{
- if (parallel::internal::EnableOpenMPSimdFor<Number>::value)
+ if (::dealii::parallel::internal::EnableOpenMPSimdFor<Number>::value)
{
DEAL_II_OPENMP_SIMD_PRAGMA
for (size_type i = begin; i < end; ++i)
void
operator()(const size_type begin, const size_type end) const
{
- if (parallel::internal::EnableOpenMPSimdFor<Number>::value)
+ if (::dealii::parallel::internal::EnableOpenMPSimdFor<Number>::value)
{
DEAL_II_OPENMP_SIMD_PRAGMA
for (size_type i = begin; i < end; ++i)
template <typename Operation, typename ResultType>
void
parallel_reduce(
- const Operation & op,
- const size_type start,
- const size_type end,
- ResultType & result,
- const std::shared_ptr<parallel::internal::TBBPartitioner> &partitioner)
+ const Operation &op,
+ const size_type start,
+ const size_type end,
+ ResultType & result,
+ const std::shared_ptr<::dealii::parallel::internal::TBBPartitioner>
+ &partitioner)
{
#ifdef DEAL_II_WITH_THREADS
const size_type vec_size = end - start;
// vector entries). The number of chunks here is calculated inside
// TBBForFunctor. See also GitHub issue #2496 for further discussion
// of this strategy.
- parallel::internal::parallel_for(static_cast<size_type>(0),
- static_cast<size_type>(
- generic_functor.n_chunks),
- generic_functor,
- 1,
- tbb_partitioner);
+ ::dealii::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();
}