]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Triangulation::CellStatus: add compatibility identifiers for CellStatus::* members 15707/head
authorMatthias Maier <tamiko@43-1.org>
Tue, 11 Jul 2023 00:02:48 +0000 (19:02 -0500)
committerMatthias Maier <tamiko@43-1.org>
Tue, 11 Jul 2023 00:03:02 +0000 (19:03 -0500)
include/deal.II/grid/tria.h

index 5762c30698e0bf67e64eeefe290fcd22a2c3c228..d65345be1a2117b960bf6dca8688da961ecde99e 100644 (file)
@@ -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

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.