)
IF(DEAL_II_COMPILE_EXAMPLES)
+ #
+ # Make sure that there are no deprecated functions used in the tutorials.
+ #
+ STRIP_FLAG(DEAL_II_CXX_FLAGS "-Wno-deprecated-declarations")
+
#
# Set up all executables:
#
, section_name(section_name_)
, in(true)
{
- timer.enter_section(section_name);
+ timer.enter_subsection(section_name);
}
return;
in = false;
- timer.exit_section(section_name);
+ timer.leave_subsection(section_name);
}
inline dealii::internal::SubfaceCase<2>
CellAccessor<2>::subface_case(const unsigned int face_no) const
{
- Assert(active(), TriaAccessorExceptions::ExcCellNotActive());
+ Assert(is_active(), TriaAccessorExceptions::ExcCellNotActive());
AssertIndexRange(face_no, GeometryInfo<2>::faces_per_cell);
return ((face(face_no)->has_children()) ?
dealii::internal::SubfaceCase<2>::case_x :
inline dealii::internal::SubfaceCase<2>
CellAccessor<2, 3>::subface_case(const unsigned int face_no) const
{
- Assert(active(), TriaAccessorExceptions::ExcCellNotActive());
+ Assert(is_active(), TriaAccessorExceptions::ExcCellNotActive());
AssertIndexRange(face_no, GeometryInfo<2>::faces_per_cell);
return ((face(face_no)->has_children()) ?
dealii::internal::SubfaceCase<2>::case_x :
inline dealii::internal::SubfaceCase<3>
CellAccessor<3>::subface_case(const unsigned int face_no) const
{
- Assert(active(), TriaAccessorExceptions::ExcCellNotActive());
+ Assert(is_active(), TriaAccessorExceptions::ExcCellNotActive());
AssertIndexRange(face_no, GeometryInfo<3>::faces_per_cell);
switch (static_cast<std::uint8_t>(face(face_no)->refinement_case()))
{
color = internal::MatrixFreeFunctions::TaskInfo::color
};
+ // clang-format off
+ // Remove with level_mg_handler
+#ifdef DEAL_II_COMPILER_HAS_DIAGNOSTIC_PRAGMA
+ _Pragma("GCC diagnostic push")
+ _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"")
+#endif
/**
* Constructor for AdditionalData.
*/
, cell_vectorization_categories_strict(
other.cell_vectorization_categories_strict)
{}
+#ifdef DEAL_II_COMPILER_HAS_DIAGNOSTIC_PRAGMA
+ _Pragma("GCC diagnostic pop")
+#endif
/**
* Copy assignment.
return *this;
}
+ // clang-format on
/**
* Set the scheme for task parallelism. There are four options available.