From 328e98674f4fae1caf336795e620453d14f008cd Mon Sep 17 00:00:00 2001 From: Timo Koch Date: Tue, 22 Feb 2022 14:47:49 +0000 Subject: [PATCH] [cleanup][pnm][spatialparams] Remove unused header --- dumux/porenetwork/common/spatialparams.hh | 1 - .../common/spatialparamstraits_.hh | 37 ------------------- 2 files changed, 38 deletions(-) delete mode 100644 dumux/porenetwork/common/spatialparamstraits_.hh diff --git a/dumux/porenetwork/common/spatialparams.hh b/dumux/porenetwork/common/spatialparams.hh index 90bce207cf..4e7ae0e688 100644 --- a/dumux/porenetwork/common/spatialparams.hh +++ b/dumux/porenetwork/common/spatialparams.hh @@ -31,7 +31,6 @@ #include #include #include -#include namespace Dumux::PoreNetwork { diff --git a/dumux/porenetwork/common/spatialparamstraits_.hh b/dumux/porenetwork/common/spatialparamstraits_.hh deleted file mode 100644 index f23c7eefc2..0000000000 --- a/dumux/porenetwork/common/spatialparamstraits_.hh +++ /dev/null @@ -1,37 +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 3 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 . * - *****************************************************************************/ -#ifndef DUMUX_PORENETWORK_SPATIAL_PARAMS_TRAITS__HH -#define DUMUX_PORENETWORK_SPATIAL_PARAMS_TRAITS__HH -#ifndef DOXYGEN - -namespace Dumux::Detail { - -// helper struct detecting if the user-defined spatial params class has a materialLawParamsAtPos function -template -struct hasMaterialLawParamsAtPos -{ - template - auto operator()(const SpatialParams& a) - -> decltype(a.materialLawParamsAtPos(std::declval())) - {} -}; - -} // end namespace Dumux::Detail -#endif // DOXYGEN -#endif -- GitLab