diff --git a/dumux/discretization/rotationpolicy.hh b/dumux/discretization/rotationpolicy.hh index 9e762ef6edb22fc3eb15f2242637ffd63cb52a98..8ee683e12dca2e4b7bd1504e236d10090561e599 100644 --- a/dumux/discretization/rotationpolicy.hh +++ b/dumux/discretization/rotationpolicy.hh @@ -24,6 +24,8 @@ #ifndef DUMUX_DISCRETIZATION_ROTATION_POLICY_HH #define DUMUX_DISCRETIZATION_ROTATION_POLICY_HH +#warning "This header is deprecated and will be removed after release 3.3" + namespace Dumux { /*! @@ -33,7 +35,7 @@ namespace Dumux { * - ball (or shell): rotate a segment around a point on the line through the segment * - toroid: rotate a polygon around one of its axis (we rotate about the second axis) */ -enum class RotationPolicy +enum class [[deprecated("Will be removed after release 3.3. Use Extrusion from extrusion.hh")]] RotationPolicy { disc, ball, toroid }; } // end namespace Dumux diff --git a/dumux/discretization/rotationsymmetricgridgeometrytraits.hh b/dumux/discretization/rotationsymmetricgridgeometrytraits.hh index c70ebd382ccb768f9a5f13f20bfabdf900c20dbe..e0fbbe6d783f3d1c43feb86cd3e9f6310ba104a2 100644 --- a/dumux/discretization/rotationsymmetricgridgeometrytraits.hh +++ b/dumux/discretization/rotationsymmetricgridgeometrytraits.hh @@ -24,6 +24,7 @@ #ifndef DUMUX_DISCRETIZATION_ROTATION_SYMMETRIC_GG_TRAITS_HH #define DUMUX_DISCRETIZATION_ROTATION_SYMMETRIC_GG_TRAITS_HH +#warning "This header is deprecated and will be removed after release 3.3" #include <dumux/discretization/rotationpolicy.hh> #include <dumux/discretization/rotationsymmetricscv.hh> #include <dumux/discretization/rotationsymmetricscvf.hh> @@ -37,7 +38,7 @@ namespace Dumux { * \tparam rotPolicy The rotation policy (see RotationPolicy enum class) */ template<class BaseTraits, RotationPolicy rotPolicy> -struct RotationSymmetricGridGeometryTraits : public BaseTraits +struct [[deprecated("Will be removed after release 3.3. Use Extrusion from extrusion.hh")]] RotationSymmetricGridGeometryTraits : public BaseTraits { using SubControlVolume = RotationSymmetricSubControlVolume<typename BaseTraits::SubControlVolume, rotPolicy>; using SubControlVolumeFace = RotationSymmetricSubControlVolumeFace<typename BaseTraits::SubControlVolumeFace, rotPolicy>; diff --git a/dumux/discretization/rotationsymmetricscv.hh b/dumux/discretization/rotationsymmetricscv.hh index 4bb912b8e37fb4fb7b33580bdb91e1e274775bbc..88c3a569d73637d3add35ffc8d9f4b2b9ae44add 100644 --- a/dumux/discretization/rotationsymmetricscv.hh +++ b/dumux/discretization/rotationsymmetricscv.hh @@ -24,6 +24,7 @@ #ifndef DUMUX_DISCRETIZATION_ROTATION_SYMMETRIC_SUBCONTROLVOLUME_HH #define DUMUX_DISCRETIZATION_ROTATION_SYMMETRIC_SUBCONTROLVOLUME_HH +#warning "This header is deprecated and will be removed after release 3.3" #include <cmath> #include <dumux/discretization/rotationpolicy.hh> @@ -36,7 +37,7 @@ namespace Dumux { * \tparam rotationPolicy the rotation policy (see enum RotationPolicy) */ template<class SubControlVolume, RotationPolicy rotationPolicy> -class RotationSymmetricSubControlVolume; +class [[deprecated("Will be removed after release 3.3. Use Extrusion from extrusion.hh")]] RotationSymmetricSubControlVolume; /*! * \ingroup Discretization @@ -45,7 +46,7 @@ class RotationSymmetricSubControlVolume; * \note Specialization for the 'disc' policy (1d grid --> 2d disc) */ template<class SubControlVolume> -class RotationSymmetricSubControlVolume<SubControlVolume, RotationPolicy::disc> +class [[deprecated("Will be removed after release 3.3. Use Extrusion from extrusion.hh")]] RotationSymmetricSubControlVolume<SubControlVolume, RotationPolicy::disc> : public SubControlVolume { using Scalar = typename SubControlVolume::Traits::Scalar; @@ -72,7 +73,7 @@ public: * \note Specialization for the 'ball' policy (1d grid --> 3d ball) */ template<class SubControlVolume> -class RotationSymmetricSubControlVolume<SubControlVolume, RotationPolicy::ball> +class [[deprecated("Will be removed after release 3.3. Use Extrusion from extrusion.hh")]] RotationSymmetricSubControlVolume<SubControlVolume, RotationPolicy::ball> : public SubControlVolume { using Scalar = typename SubControlVolume::Traits::Scalar; @@ -100,7 +101,7 @@ public: * \note We rotate about the second axis */ template<class SubControlVolume> -class RotationSymmetricSubControlVolume<SubControlVolume, RotationPolicy::toroid> +class [[deprecated("Will be removed after release 3.3. Use Extrusion from extrusion.hh")]] RotationSymmetricSubControlVolume<SubControlVolume, RotationPolicy::toroid> : public SubControlVolume { using Scalar = typename SubControlVolume::Traits::Scalar; diff --git a/dumux/discretization/rotationsymmetricscvf.hh b/dumux/discretization/rotationsymmetricscvf.hh index 97e9840840ad589ed8ad73bf2a5ae687fddaa1e9..b1dc9e032b620d84066afa0a7af3c62483a43321 100644 --- a/dumux/discretization/rotationsymmetricscvf.hh +++ b/dumux/discretization/rotationsymmetricscvf.hh @@ -24,6 +24,7 @@ #ifndef DUMUX_DISCRETIZATION_ROTATION_SYMMETRIC_SUBCONTROLVOLUMEFACE_HH #define DUMUX_DISCRETIZATION_ROTATION_SYMMETRIC_SUBCONTROLVOLUMEFACE_HH +#warning "This header is deprecated and will be removed after release 3.3" #include <cmath> #include <dumux/discretization/rotationpolicy.hh> @@ -36,7 +37,7 @@ namespace Dumux { * \tparam rotationPolicy the rotation policy (see enum RotationPolicy) */ template<class SubControlVolumeFace, RotationPolicy rotationPolicy> -class RotationSymmetricSubControlVolumeFace; +class [[deprecated("Will be removed after release 3.3. Use Extrusion from extrusion.hh")]] RotationSymmetricSubControlVolumeFace; /*! * \ingroup Discretization @@ -45,7 +46,7 @@ class RotationSymmetricSubControlVolumeFace; * \note Specialization for the 'disc' policy (1d grid --> 2d disc) */ template<class SubControlVolumeFace> -class RotationSymmetricSubControlVolumeFace<SubControlVolumeFace, RotationPolicy::disc> +class [[deprecated("Will be removed after release 3.3. Use Extrusion from extrusion.hh")]] RotationSymmetricSubControlVolumeFace<SubControlVolumeFace, RotationPolicy::disc> : public SubControlVolumeFace { using Scalar = typename SubControlVolumeFace::Traits::Scalar; @@ -70,7 +71,7 @@ public: * \note Specialization for the 'ball' policy (1d grid --> 3d ball) */ template<class SubControlVolumeFace> -class RotationSymmetricSubControlVolumeFace<SubControlVolumeFace, RotationPolicy::ball> +class [[deprecated("Will be removed after release 3.3. Use Extrusion from extrusion.hh")]] RotationSymmetricSubControlVolumeFace<SubControlVolumeFace, RotationPolicy::ball> : public SubControlVolumeFace { using Scalar = typename SubControlVolumeFace::Traits::Scalar; @@ -96,7 +97,7 @@ public: * \note We rotate about the second axis */ template<class SubControlVolumeFace> -class RotationSymmetricSubControlVolumeFace<SubControlVolumeFace, RotationPolicy::toroid> +class [[deprecated("Will be removed after release 3.3. Use Extrusion from extrusion.hh")]] RotationSymmetricSubControlVolumeFace<SubControlVolumeFace, RotationPolicy::toroid> : public SubControlVolumeFace { using Scalar = typename SubControlVolumeFace::Traits::Scalar;