diff --git a/doc/doxygen/Doxylocal b/doc/doxygen/Doxylocal index 7d55fb5f5778fab97b38c780103e9218bb8eb6d5..a87ad9bf690e3d83e52de30417eed2e2fd309c96 100644 --- a/doc/doxygen/Doxylocal +++ b/doc/doxygen/Doxylocal @@ -29,7 +29,7 @@ HTML_FILE_EXTENSION = .xhtml USE_MATHJAX = YES -EXCLUDE_PATTERNS = +EXCLUDE_PATTERNS = *_.hh ALIASES += "warning=\xrefitem warning \"Warning List\" \"Warning List\"" diff --git a/dumux/geomechanics/elastic/fvspatialparams.hh b/dumux/geomechanics/elastic/fvspatialparams.hh index 73635a6a4601c2648b808017deef97b4047f2c41..47a994b1e00070a0e6c3866357381d77e7396d7d 100644 --- a/dumux/geomechanics/elastic/fvspatialparams.hh +++ b/dumux/geomechanics/elastic/fvspatialparams.hh @@ -30,24 +30,10 @@ #include #include +#include namespace Dumux { -#ifndef DOXYGEN -namespace Detail { -// helper struct detecting if the user-defined spatial params class has a lameParamsAtPos function -template -struct hasLameParamsAtPos -{ - template - auto operator()(const SpatialParams& a) - -> decltype(a.lameParamsAtPos(std::declval())) - {} -}; - -} // end namespace Detail -#endif - /*! * \ingroup SpatialParameters * \brief The base class for spatial parameters of linear elastic geomechanical problems diff --git a/dumux/geomechanics/poroelastic/fvspatialparams.hh b/dumux/geomechanics/poroelastic/fvspatialparams.hh index 4805c4d59d26661bc9c60aa752fbc8bfadfeb5ed..525bcf846a5e17b1f51d50a1b7517839bbd9edf4 100644 --- a/dumux/geomechanics/poroelastic/fvspatialparams.hh +++ b/dumux/geomechanics/poroelastic/fvspatialparams.hh @@ -27,8 +27,8 @@ #include #include -#include // for some helpers in detail namespace #include +#include namespace Dumux { diff --git a/dumux/geomechanics/spatialparamstraits_.hh b/dumux/geomechanics/spatialparamstraits_.hh new file mode 100644 index 0000000000000000000000000000000000000000..9f50cff096acf2875a7b7e004045a52b8086ad1f --- /dev/null +++ b/dumux/geomechanics/spatialparamstraits_.hh @@ -0,0 +1,37 @@ +// -*- 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_GEOMECHANICS_SPATIAL_PARAMS_TRAITS__HH +#define DUMUX_GEOMECHANICS_SPATIAL_PARAMS_TRAITS__HH +#ifndef DOXYGEN + +namespace Dumux::Detail { + +// helper struct detecting if the user-defined spatial params class has a lameParamsAtPos function +template +struct hasLameParamsAtPos +{ + template + auto operator()(const SpatialParams& a) + -> decltype(a.lameParamsAtPos(std::declval())) + {} +}; + +} // end namespace Dumux::Detail +#endif // DOXYGEN +#endif