]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CellStatus: provide old name aliases
authorMatthias Maier <tamiko@43-1.org>
Mon, 10 Jul 2023 20:40:17 +0000 (15:40 -0500)
committerMatthias Maier <tamiko@43-1.org>
Mon, 10 Jul 2023 23:40:15 +0000 (18:40 -0500)
include/deal.II/grid/cell_status.h

index 071dc69e1a1de609c4c9e3028afdcf81860f9ba7..42babaf77352cafd7658028b37e8b4b4665de037 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.