/* --------------------- class ParallelDistributed ---------------- */
-#ifdef DEAL_II_WITH_P4EST
+#ifdef DEAL_II_WITH_MPI
namespace
{
++c)
{
const auto temp =
- CellId(quadrant_data_to_send[idx][c].first, 0, NULL)
+ CellId(quadrant_data_to_send[idx][c].first, 0, nullptr)
.to_cell(tria);
typename DoFHandlerType::level_cell_iterator cell(
receive_dof_numbers_and_indices.data();
for (const auto &it : quadrants)
{
- const auto temp = CellId(it.first, 0, NULL).to_cell(tria);
+ const auto temp = CellId(it.first, 0, nullptr).to_cell(tria);
typename DoFHandlerType::level_cell_iterator cell(
&tria, 0, temp->index(), &dof_handler);
} // namespace
-#endif // DEAL_II_WITH_P4EST
+#endif // DEAL_II_WITH_MPI
NumberCache
ParallelDistributed<DoFHandlerType>::distribute_dofs() const
{
-#ifndef DEAL_II_WITH_P4EST
+#ifndef DEAL_II_WITH_MPI
Assert(false, ExcNotImplemented());
return NumberCache();
#else
}
# endif // DEBUG
return number_cache;
-#endif // DEAL_II_WITH_P4EST
+#endif // DEAL_II_WITH_MPI
}
std::vector<NumberCache>
ParallelDistributed<DoFHandlerType>::distribute_mg_dofs() const
{
-#ifndef DEAL_II_WITH_P4EST
+#ifndef DEAL_II_WITH_MPI
Assert(false, ExcNotImplemented());
return std::vector<NumberCache>();
#else
return number_caches;
-#endif // DEAL_II_WITH_P4EST
+#endif // DEAL_II_WITH_MPI
}
Assert(new_numbers.size() == dof_handler->n_locally_owned_dofs(),
ExcInternalError());
-#ifndef DEAL_II_WITH_P4EST
+#ifndef DEAL_II_WITH_MPI
Assert(false, ExcNotImplemented());
return NumberCache();
#else