void
TriaAccessor<3, 3, 3>::set_all_manifold_ids(const types::manifold_id) const;
-#endif // DOXYGEN
-
namespace internal
// outside the old ball.
}
}
-#ifdef DEBUG
+# ifdef DEBUG
bool all_vertices_within_ball = true;
// Set all_vertices_within_ball false if any of the vertices of the object
}
// If all the vertices are not within the ball throw error
Assert(all_vertices_within_ball, ExcInternalError());
-#endif
+# endif
return std::make_pair(center, radius);
}
{
Assert(this->is_active(),
ExcMessage("is_locally_owned() can only be called on active cells!"));
-#ifndef DEAL_II_WITH_MPI
+# ifndef DEAL_II_WITH_MPI
return true;
-#else
+# else
// Serial triangulations report invalid_subdomain_id as their locally owned
// subdomain, so the first condition checks whether we have a serial
return (locally_owned_subdomain == numbers::invalid_subdomain_id ||
this->subdomain_id() == locally_owned_subdomain);
-#endif
+# endif
}
inline bool
CellAccessor<dim, spacedim>::is_locally_owned_on_level() const
{
-#ifndef DEAL_II_WITH_MPI
+# ifndef DEAL_II_WITH_MPI
return true;
-#else
+# else
// Serial triangulations report invalid_subdomain_id as their locally owned
// subdomain, so the first condition checks whether we have a serial
return (locally_owned_subdomain == numbers::invalid_subdomain_id ||
this->level_subdomain_id() == locally_owned_subdomain);
-#endif
+# endif
}
if (this->has_children())
return false;
-#ifndef DEAL_II_WITH_MPI
+# ifndef DEAL_II_WITH_MPI
return false;
-#else
+# else
// Serial triangulations report invalid_subdomain_id as their locally owned
// subdomain, so the first condition rules out that case as all cells to a
subdomain_id != locally_owned_subdomain &&
subdomain_id != numbers::artificial_subdomain_id);
-#endif
+# endif
}
inline bool
CellAccessor<dim, spacedim>::is_ghost_on_level() const
{
-#ifndef DEAL_II_WITH_MPI
+# ifndef DEAL_II_WITH_MPI
return false;
-#else
+# else
// Serial triangulations report invalid_subdomain_id as their locally owned
// subdomain, so the first condition checks whether we have a serial
subdomain_id != locally_owned_subdomain &&
subdomain_id != numbers::artificial_subdomain_id);
-#endif
+# endif
}
{
Assert(this->is_active(),
ExcMessage("is_artificial() can only be called on active cells!"));
-#ifndef DEAL_II_WITH_MPI
+# ifndef DEAL_II_WITH_MPI
return false;
-#else
+# else
// Serial triangulations report invalid_subdomain_id as their locally owned
// subdomain, so the first condition rules out that case as all cells to a
numbers::invalid_subdomain_id &&
this->subdomain_id() == numbers::artificial_subdomain_id);
-#endif
+# endif
}
inline bool
CellAccessor<dim, spacedim>::is_artificial_on_level() const
{
-#ifndef DEAL_II_WITH_MPI
+# ifndef DEAL_II_WITH_MPI
return false;
-#else
+# else
return (this->tria->locally_owned_subdomain() !=
numbers::invalid_subdomain_id &&
this->level_subdomain_id() == numbers::artificial_subdomain_id);
-#endif
+# endif
}
->global_level_cell_indices[this->present_index];
}
+#endif // DOXYGEN
+
DEAL_II_NAMESPACE_CLOSE