From 3d3cc79b426e7cc09dccc1c3cb60b638909a77d8 Mon Sep 17 00:00:00 2001 From: Bernd Flemisch <bernd@iws.uni-stuttgart.de> Date: Tue, 12 Mar 2013 10:18:20 +0000 Subject: [PATCH] remove boxspatialparams* which have been deprecated in 2.3 git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@10390 2fb0f335-1f38-0410-981e-8018bf24f1b0 --- .../spatialparams/boxspatialparams.hh | 57 ------------------- .../spatialparams/boxspatialparams1p.hh | 57 ------------------- 2 files changed, 114 deletions(-) delete mode 100644 dumux/material/spatialparams/boxspatialparams.hh delete mode 100644 dumux/material/spatialparams/boxspatialparams1p.hh diff --git a/dumux/material/spatialparams/boxspatialparams.hh b/dumux/material/spatialparams/boxspatialparams.hh deleted file mode 100644 index c413e10131..0000000000 --- a/dumux/material/spatialparams/boxspatialparams.hh +++ /dev/null @@ -1,57 +0,0 @@ -// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- -// vi: set et ts=4 sw=4 sts=4: -/***************************************************************************** - * See the file COPYING for full copying permissions. * - * * - * This program is free software: you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation, either version 2 of the License, or * - * (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see <http://www.gnu.org/licenses/>. * - *****************************************************************************/ -/*! - * \file - * - * \ingroup SpatialParameters - * \brief The base class for spatial parameters of problems using the - * box method. - */ -#ifndef DUMUX_BOX_SPATIAL_PARAMS_HH -#define DUMUX_BOX_SPATIAL_PARAMS_HH - -#include "implicitspatialparams.hh" - -namespace Dumux { - -/*! - * \ingroup SpatialParameters - */ - - -/** - * \brief The base class for spatial parameters of problems using the - * box method. - */ -template<class TypeTag> -class BoxSpatialParams: public ImplicitSpatialParams<TypeTag> -{ - typedef ImplicitSpatialParams<TypeTag> ParentType; - typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; - -public: - DUNE_DEPRECATED_MSG("Use ImplicitSpatialParams from dumux/material/spatialparams/implicitspatialparams.hh instead.") - BoxSpatialParams(const GridView &gridView) - : ParentType(gridView) - { } -}; - -} // namespace Dumux - -#endif diff --git a/dumux/material/spatialparams/boxspatialparams1p.hh b/dumux/material/spatialparams/boxspatialparams1p.hh deleted file mode 100644 index 5167588a84..0000000000 --- a/dumux/material/spatialparams/boxspatialparams1p.hh +++ /dev/null @@ -1,57 +0,0 @@ -// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- -// vi: set et ts=4 sw=4 sts=4: -/***************************************************************************** - * See the file COPYING for full copying permissions. * - * * - * This program is free software: you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation, either version 2 of the License, or * - * (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see <http://www.gnu.org/licenses/>. * - *****************************************************************************/ -/*! - * \file - * - * \ingroup SpatialParameters - * \brief The base class for spatial parameters of problems using the - * box method. - */ -#ifndef DUMUX_BOX_SPATIAL_PARAMS_ONE_P_HH -#define DUMUX_BOX_SPATIAL_PARAMS_ONE_P_HH - -#include "implicitspatialparams1p.hh" - -namespace Dumux { - -/*! - * \ingroup SpatialParameters - */ - - -/** - * \brief The base class for spatial parameters of problems using the - * box method. - */ -template<class TypeTag> -class BoxSpatialParamsOneP : public ImplicitSpatialParamsOneP<TypeTag> -{ - typedef ImplicitSpatialParamsOneP<TypeTag> ParentType; - typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; - -public: - DUNE_DEPRECATED_MSG("Use ImplicitSpatialParamsOneP from dumux/material/spatialparams/implicitspatialparams1p.hh instead.") - BoxSpatialParamsOneP(const GridView &gridView) - : ParentType(gridView) - { } -}; - -} // namespace Dumux - -#endif -- GitLab