From: Matthias Maier Date: Tue, 11 Jul 2023 00:02:48 +0000 (-0500) Subject: Triangulation::CellStatus: add compatibility identifiers for CellStatus::* members X-Git-Tag: relicensing~704^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=251ffdfb17f7f688312037dd471253c81265e08a;p=dealii.git Triangulation::CellStatus: add compatibility identifiers for CellStatus::* members --- 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