From 251ffdfb17f7f688312037dd471253c81265e08a Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Mon, 10 Jul 2023 19:02:48 -0500 Subject: [PATCH] Triangulation::CellStatus: add compatibility identifiers for CellStatus::* members --- include/deal.II/grid/tria.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/include/deal.II/grid/tria.h b/include/deal.II/grid/tria.h index 5762c30698..d65345be1a 100644 --- a/include/deal.II/grid/tria.h +++ b/include/deal.II/grid/tria.h @@ -2239,6 +2239,35 @@ public: */ using CellStatus DEAL_II_DEPRECATED_EARLY = ::dealii::CellStatus; + /** + * @deprecated This is an alias for backward compatibility. Use + * ::dealii::CellStatus directly. + */ + static constexpr auto CELL_PERSIST DEAL_II_DEPRECATED_EARLY = + ::dealii::CellStatus::cell_will_persist; + + /** + * @deprecated This is an alias for backward compatibility. Use + * ::dealii::CellStatus directly. + */ + static constexpr auto CELL_REFINE DEAL_II_DEPRECATED_EARLY = + ::dealii::CellStatus::cell_will_be_refined; + + /** + * @deprecated This is an alias for backward compatibility. Use + * ::dealii::CellStatus directly. + */ + static constexpr auto CELL_COARSEN DEAL_II_DEPRECATED_EARLY = + ::dealii::CellStatus::children_will_be_coarsened; + + /** + * @deprecated This is an alias for backward compatibility. Use + * ::dealii::CellStatus directly. + */ + static constexpr auto CELL_INVALID DEAL_II_DEPRECATED_EARLY = + ::dealii::CellStatus::cell_invalid; + + /** * A structure used to accumulate the results of the `weight` signal slot * functions below. It takes an iterator range and returns the sum of -- 2.39.5