Commit 87efccd3 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

Fix headercheck

parent 241b8e42
......@@ -25,6 +25,8 @@
#ifndef DUMUX_SEQUENTIAL_1P_INDICES_HH
#define DUMUX_SEQUENTIAL_1P_INDICES_HH
#include <dune/common/deprecated.hh>
namespace Dumux
{
/*!
......
......@@ -25,6 +25,8 @@
#ifndef DUMUX_SEQUENTIAL_2P_INDICES_HH
#define DUMUX_SEQUENTIAL_2P_INDICES_HH
#include <dune/common/deprecated.hh>
namespace Dumux
{
/*!
......
......@@ -28,6 +28,7 @@
#include "../lensproblem.hh"
#if HAVE_UG
  • why do you need to guard this (the header only gets included if HAVE_UG)? And what's the connection to headercheck?

  • Headercheck includes config.h and every header twice. As I do not always have DuMuX configured with UG it fails unless I guard the complete header.

Please register or sign in to reply
namespace Dumux
{
template <class TypeTag>
......@@ -43,7 +44,7 @@ NEW_PROP_TAG(BaseProblem);
SET_TYPE_PROP(LensProblemPointSource, BaseProblem, ImplicitPorousMediaProblem<TypeTag>);
SET_BOOL_PROP(LensProblemPointSource, AdaptiveGrid, true);
SET_TYPE_PROP(LensProblemPointSource, AdaptionIndicator, TwoPImplicitGridAdaptIndicator<TypeTag>);
SET_TYPE_PROP(LensProblemPointSource, AdaptionInitializationIndicator, ImplicitGridAdaptInitializationIndicator<TypeTag>);
SET_TYPE_PROP(LensProblemPointSource, AdaptionInitializationIndicator, ImplicitGridAdaptInitializationIndicator<TypeTag>);
SET_TYPE_PROP(LensProblemPointSource, Grid, Dune::UGGrid<2>);
SET_TYPE_PROP(LensProblemPointSource, Problem, LensProblemPointSource<TypeTag>);
}
......@@ -126,4 +127,6 @@ public:
} //end namespace
#endif // HAVE_UG
#endif
......@@ -34,7 +34,7 @@
#include <dumux/porousmediumflow/2p/sequential/impes/problem.hh> /*@\label{tutorial-sequential:parent-problem}@*/
// assign parameters dependent on space (e.g. spatial parameters)
#include "ex2tutorialspatialparams_decoupled.hh" /*@\label{tutorial-sequential:spatialparameters}@*/
#include "ex2tutorialspatialparams_sequential.hh" /*@\label{tutorial-sequential:spatialparameters}@*/
// include cfl-criterion after coats: more suitable if the problem is not advection dominated
#include<dumux/porousmediumflow/2p/sequential/transport/cellcentered/evalcflfluxcoats.hh>
......
......@@ -34,7 +34,7 @@
#include <dumux/porousmediumflow/2p/sequential/impes/problem.hh> /*@\label{tutorial-sequential:parent-problem}@*/
// assign parameters dependent on space (e.g. spatial parameters)
#include "ex5_tutorialspatialparams_decoupled.hh" /*@\label{tutorial-sequential:spatialparameters}@*/
#include "ex5_tutorialspatialparams_sequential.hh" /*@\label{tutorial-sequential:spatialparameters}@*/
// include cfl-criterion after coats: more suitable if the problem is not advection dominated
#include<dumux/porousmediumflow/2p/sequential/transport/cellcentered/evalcflfluxcoats.hh>
......
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