Commit 6697fb50 authored by Timo Koch's avatar Timo Koch
Browse files

[material][pnm] Fix position of deprecated attribute

parent 3c75a53a
Pipeline #15533 waiting for manual action with stages
......@@ -36,8 +36,9 @@ namespace Dumux::PoreNetwork {
* \brief The default class for spatial parameters for single-phase pore-network models.
*/
template<class GridGeometry, class Scalar>
class
[[deprecated("Use PoreNetwork::OnePDefaultSpatialParams from dumux/porenetwork/1p/spatialparams.hh instead. This class will be removed after 3.5.")]]
class OnePDefaultSpatialParams : public BaseSpatialParams<GridGeometry, Scalar,
OnePDefaultSpatialParams : public BaseSpatialParams<GridGeometry, Scalar,
OnePDefaultSpatialParams<GridGeometry, Scalar>>
{
using ParentType = BaseSpatialParams<GridGeometry, Scalar,
......
......@@ -46,8 +46,9 @@ namespace Dumux::PoreNetwork {
* \brief The base class for spatial parameters for pore-network models.
*/
template<class GridGeometry, class Scalar, class LocalRules, class Implementation>
class
[[deprecated("Use PoreNetwork::TwoPSpatialParams from dumux/porenetwork/2p/spatialparams.hh instead. This class will be removed after 3.5.")]]
class TwoPBaseSpatialParams
TwoPBaseSpatialParams
: public BaseSpatialParams<GridGeometry, Scalar, TwoPBaseSpatialParams<GridGeometry, Scalar, LocalRules, Implementation>>
{
using ParentType = BaseSpatialParams<GridGeometry, Scalar, TwoPBaseSpatialParams<GridGeometry, Scalar, LocalRules, Implementation>>;
......@@ -209,8 +210,9 @@ private:
// TODO docme
template<class GridGeometry, class Scalar, class MaterialLawT>
class
[[deprecated("Use PoreNetwork::TwoPDefaultSpatialParams from dumux/porenetwork/2p/spatialparams.hh instead. This class will be removed after 3.5.")]]
class TwoPDefaultSpatialParams : public TwoPBaseSpatialParams<GridGeometry, Scalar, MaterialLawT,
TwoPDefaultSpatialParams : public TwoPBaseSpatialParams<GridGeometry, Scalar, MaterialLawT,
TwoPDefaultSpatialParams<GridGeometry, Scalar, MaterialLawT>>
{
using ParentType = TwoPBaseSpatialParams<GridGeometry, Scalar, MaterialLawT,
......
......@@ -88,8 +88,9 @@ struct hasPorosityAtPos
* \brief The base class for spatial parameters for pore-network models.
*/
template<class GridGeometry, class Scalar, class Implementation>
class
[[deprecated("Use PoreNetwork::SpatialParams from dumux/porenetwork/common/spatialparams.hh instead. This class will be removed after 3.5.")]]
class BaseSpatialParams
BaseSpatialParams
{
using GridView = typename GridGeometry::GridView;
using SubControlVolume = typename GridGeometry::SubControlVolume;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment