From 3f90b758c0d68806ec18adc8e9d857f2a8932c34 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Mon, 10 Jul 2023 15:40:17 -0500 Subject: [PATCH] CellStatus: provide old name aliases --- include/deal.II/grid/cell_status.h | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/include/deal.II/grid/cell_status.h b/include/deal.II/grid/cell_status.h index 071dc69e1a..42babaf773 100644 --- a/include/deal.II/grid/cell_status.h +++ b/include/deal.II/grid/cell_status.h @@ -46,7 +46,27 @@ enum class CellStatus : unsigned int /** * Invalid status. Will not occur for the user. */ - cell_invalid + cell_invalid, + + /** + * @deprecated Use CellStatus::cell_will_persist instead + */ + CELL_PERSIST DEAL_II_DEPRECATED_EARLY = cell_will_persist, + + /** + * @deprecated Use CellStatus::cell_will_be_refined instead + */ + CELL_REFINE DEAL_II_DEPRECATED_EARLY = cell_will_be_refined, + + /** + * @deprecated Use CellStatus::cell_will_be_coarsened instead + */ + CELL_COARSEN DEAL_II_DEPRECATED_EARLY = children_will_be_coarsened, + + /** + * @deprecated Use CellStatus::cell_invalid instead + */ + CELL_INVALID DEAL_II_DEPRECATED_EARLY = cell_invalid, }; DEAL_II_NAMESPACE_CLOSE -- 2.39.5