From 352ba8e94c921c4aeb88f78c7db636a0e45af7e1 Mon Sep 17 00:00:00 2001 From: Timo Koch <timokoch@math.uio.no> Date: Wed, 27 Apr 2022 12:33:59 +0000 Subject: [PATCH] Merge branch 'feature/headercheck' into 'master' Feature/headercheck See merge request dumux-repositories/dumux!3064 (cherry picked from commit 5d0f02e01cd3e3a0351bc4446b1dcf48cf662072) 50208e7a [headercheck] add missing headers --- .../facecentered/staggered/connectivitymap.hh | 3 ++- .../facecentered/staggered/elementvolumevariables.hh | 2 ++ .../facecentered/staggered/fvelementgeometry.hh | 1 + .../discretization/facecentered/staggered/geometryhelper.hh | 1 + .../facecentered/staggered/localintersectionindexmapper.hh | 1 + dumux/discretization/walldistance.hh | 2 ++ dumux/flux/box/dispersionflux.hh | 1 + dumux/flux/cctpfa/dispersionflux.hh | 1 + dumux/flux/dispersionflux_fwd.hh | 1 + .../navierstokes/momentum/velocityreconstruction.hh | 2 +- dumux/freeflow/rans/boundarytypes.hh | 2 ++ dumux/freeflow/turbulencemodel.hh | 1 + dumux/geomechanics/poroelastic/localresidual.hh | 1 + dumux/geomechanics/spatialparamstraits_.hh | 4 +++- dumux/io/vtk/intersectionwriter.hh | 1 + .../fluidmatrixinteractions/dispersiontensors/fulltensor.hh | 3 +++ .../dispersiontensors/scheidegger.hh | 6 ++++++ .../boundary/freeflowporenetwork/couplingmapper.hh | 1 + dumux/multidomain/couplingmanager.hh | 3 +++ dumux/multidomain/embedded/localrefinementquadrature.hh | 2 ++ dumux/multidomain/staggeredfreeflow/couplingmanager.hh | 1 + dumux/parallel/multithreading.hh | 2 ++ dumux/porousmediumflow/compositional/localresidual.hh | 1 + dumux/python/common/volumevariables.hh | 1 + dumux/python/porousmediumflow/velocityoutput.hh | 1 + examples/liddrivencavity/properties.hh | 2 ++ test/discretization/facecentered/staggered/drawgrid.hh | 5 +++++ test/freeflow/navierstokes/analyticalsolutionvectors.hh | 5 +++++ test/freeflow/navierstokes/angeli/properties.hh | 2 +- test/freeflow/navierstokes/channel/1d/properties.hh | 1 + test/freeflow/navierstokes/channel/2d/problem.hh | 1 + test/freeflow/navierstokes/channel/2d/properties.hh | 1 + test/freeflow/navierstokes/channel/3d/problem.hh | 1 + test/freeflow/navierstokes/channel/3d/properties.hh | 2 +- test/freeflow/navierstokes/channel/pipe/problem.hh | 1 + test/freeflow/navierstokes/channel/pipe/properties.hh | 1 + test/freeflow/navierstokes/donea/problem.hh | 3 +++ test/freeflow/navierstokes/donea/properties.hh | 3 ++- test/freeflow/navierstokes/errors.hh | 2 ++ test/freeflow/navierstokes/periodic/properties.hh | 1 + test/freeflow/navierstokes/sincos/problem.hh | 2 ++ test/freeflow/navierstokes/sincos/properties.hh | 2 +- .../boundary/freeflowporenetwork/1p_1p/problem_freeflow.hh | 1 + .../boundary/freeflowporenetwork/1p_1p/properties.hh | 1 + .../1p_1p/convergence/problem_freeflow.hh | 1 + .../boundary/freeflowporousmedium/1p_1p/problem_freeflow.hh | 1 + test/multidomain/embedded/1d3d/1p_richards/problem_root.hh | 2 +- test/multidomain/embedded/1d3d/1p_richards/problem_soil.hh | 1 + test/porousmediumflow/2p2c/evaporation/properties.hh | 4 ++++ test/porousmediumflow/2pnc/surfactant/fluidsystem.hh | 3 ++- test/porousmediumflow/2pnc/surfactant/problem.hh | 1 + 51 files changed, 86 insertions(+), 9 deletions(-) diff --git a/dumux/discretization/facecentered/staggered/connectivitymap.hh b/dumux/discretization/facecentered/staggered/connectivitymap.hh index 659270555a..a908d9459e 100644 --- a/dumux/discretization/facecentered/staggered/connectivitymap.hh +++ b/dumux/discretization/facecentered/staggered/connectivitymap.hh @@ -26,7 +26,8 @@ #include <algorithm> #include <vector> - +#include <dune/grid/common/partitionset.hh> +#include <dune/grid/common/gridenums.hh> #include <dumux/common/indextraits.hh> namespace Dumux { diff --git a/dumux/discretization/facecentered/staggered/elementvolumevariables.hh b/dumux/discretization/facecentered/staggered/elementvolumevariables.hh index 0c7cd0c598..b991f76271 100644 --- a/dumux/discretization/facecentered/staggered/elementvolumevariables.hh +++ b/dumux/discretization/facecentered/staggered/elementvolumevariables.hh @@ -29,6 +29,8 @@ #include <vector> #include <utility> +#include <dumux/discretization/elementsolution.hh> + namespace Dumux { /*! diff --git a/dumux/discretization/facecentered/staggered/fvelementgeometry.hh b/dumux/discretization/facecentered/staggered/fvelementgeometry.hh index fcb365c8e9..4280259586 100644 --- a/dumux/discretization/facecentered/staggered/fvelementgeometry.hh +++ b/dumux/discretization/facecentered/staggered/fvelementgeometry.hh @@ -31,6 +31,7 @@ #include <dumux/common/indextraits.hh> #include <dune/common/iteratorrange.hh> +#include <dumux/common/parameters.hh> #include <dumux/discretization/scvandscvfiterators.hh> #include <dumux/discretization/facecentered/staggered/normalaxis.hh> #include <dumux/discretization/facecentered/staggered/consistentlyorientedgrid.hh> diff --git a/dumux/discretization/facecentered/staggered/geometryhelper.hh b/dumux/discretization/facecentered/staggered/geometryhelper.hh index 73013f44f2..fbcf5069b4 100644 --- a/dumux/discretization/facecentered/staggered/geometryhelper.hh +++ b/dumux/discretization/facecentered/staggered/geometryhelper.hh @@ -26,6 +26,7 @@ #include <array> #include <cassert> +#include <dune/common/exceptions.hh> #include <dumux/common/indextraits.hh> #include <dumux/discretization/facecentered/staggered/gridsupportsconcavecorners.hh> diff --git a/dumux/discretization/facecentered/staggered/localintersectionindexmapper.hh b/dumux/discretization/facecentered/staggered/localintersectionindexmapper.hh index 74af768414..a83d1f1b1e 100644 --- a/dumux/discretization/facecentered/staggered/localintersectionindexmapper.hh +++ b/dumux/discretization/facecentered/staggered/localintersectionindexmapper.hh @@ -29,6 +29,7 @@ #include <dune/common/float_cmp.hh> #include <dumux/common/indextraits.hh> #include <dumux/common/math.hh> +#include <dumux/common/parameters.hh> #include <dumux/discretization/facecentered/staggered/normalaxis.hh> #include <dumux/discretization/facecentered/staggered/consistentlyorientedgrid.hh> diff --git a/dumux/discretization/walldistance.hh b/dumux/discretization/walldistance.hh index 8ed975881f..528ab1e635 100644 --- a/dumux/discretization/walldistance.hh +++ b/dumux/discretization/walldistance.hh @@ -32,6 +32,8 @@ #include <dune/common/parallel/mpihelper.hh> #include <dune/common/shared_ptr.hh> +#include <dune/common/reservedvector.hh> +#include <dune/grid/common/partitionset.hh> #include <dumux/common/tag.hh> #include <dumux/common/indextraits.hh> diff --git a/dumux/flux/box/dispersionflux.hh b/dumux/flux/box/dispersionflux.hh index bb5e81bee4..0e496e569e 100644 --- a/dumux/flux/box/dispersionflux.hh +++ b/dumux/flux/box/dispersionflux.hh @@ -33,6 +33,7 @@ #include <dumux/discretization/method.hh> #include <dumux/discretization/extrusion.hh> #include <dumux/flux/traits.hh> +#include <dumux/flux/referencesystemformulation.hh> namespace Dumux { diff --git a/dumux/flux/cctpfa/dispersionflux.hh b/dumux/flux/cctpfa/dispersionflux.hh index a89024c9e6..4a77270c3e 100644 --- a/dumux/flux/cctpfa/dispersionflux.hh +++ b/dumux/flux/cctpfa/dispersionflux.hh @@ -34,6 +34,7 @@ #include <dumux/discretization/extrusion.hh> #include <dumux/discretization/cellcentered/tpfa/computetransmissibility.hh> #include <dumux/flux/traits.hh> +#include <dumux/flux/referencesystemformulation.hh> namespace Dumux { diff --git a/dumux/flux/dispersionflux_fwd.hh b/dumux/flux/dispersionflux_fwd.hh index fd402ea0d4..783a2f1fbf 100644 --- a/dumux/flux/dispersionflux_fwd.hh +++ b/dumux/flux/dispersionflux_fwd.hh @@ -26,6 +26,7 @@ #include <dumux/common/properties.hh> #include <dumux/discretization/method.hh> +#include <dumux/flux/referencesystemformulation.hh> namespace Dumux { diff --git a/dumux/freeflow/navierstokes/momentum/velocityreconstruction.hh b/dumux/freeflow/navierstokes/momentum/velocityreconstruction.hh index 094a40d484..bbf9e2bcca 100644 --- a/dumux/freeflow/navierstokes/momentum/velocityreconstruction.hh +++ b/dumux/freeflow/navierstokes/momentum/velocityreconstruction.hh @@ -23,7 +23,7 @@ */ #ifndef DUMUX_NAVIERSTOKES_STAGGERED_VELOCITYRECONSTRUCTION_HH #define DUMUX_NAVIERSTOKES_STAGGERED_VELOCITYRECONSTRUCTION_HH - +#include <algorithm> #include <dumux/discretization/method.hh> namespace Dumux { diff --git a/dumux/freeflow/rans/boundarytypes.hh b/dumux/freeflow/rans/boundarytypes.hh index 5d71503060..42f3d730fd 100644 --- a/dumux/freeflow/rans/boundarytypes.hh +++ b/dumux/freeflow/rans/boundarytypes.hh @@ -24,6 +24,8 @@ #ifndef FREEFLOW_RANS_BOUNDARY_TYPES_HH #define FREEFLOW_RANS_BOUNDARY_TYPES_HH +#include <dune/common/exceptions.hh> + #include <dumux/common/typetraits/typetraits.hh> #include <dumux/freeflow/navierstokes/boundarytypes.hh> diff --git a/dumux/freeflow/turbulencemodel.hh b/dumux/freeflow/turbulencemodel.hh index 90bf19d280..fa29bc768c 100644 --- a/dumux/freeflow/turbulencemodel.hh +++ b/dumux/freeflow/turbulencemodel.hh @@ -25,6 +25,7 @@ #define DUMUX_FREEFLOW_TURBLENCEMODEL_HH #include <string> +#include <dumux/common/exceptions.hh> namespace Dumux { diff --git a/dumux/geomechanics/poroelastic/localresidual.hh b/dumux/geomechanics/poroelastic/localresidual.hh index d43efc1861..1a3edc8a28 100644 --- a/dumux/geomechanics/poroelastic/localresidual.hh +++ b/dumux/geomechanics/poroelastic/localresidual.hh @@ -27,6 +27,7 @@ #include <dumux/common/properties.hh> #include <dumux/common/numeqvector.hh> +#include <dumux/common/deprecated.hh> #include <dumux/geomechanics/elastic/localresidual.hh> namespace Dumux { diff --git a/dumux/geomechanics/spatialparamstraits_.hh b/dumux/geomechanics/spatialparamstraits_.hh index a6de661f72..ea815e5d7d 100644 --- a/dumux/geomechanics/spatialparamstraits_.hh +++ b/dumux/geomechanics/spatialparamstraits_.hh @@ -23,8 +23,10 @@ */ #ifndef DUMUX_GEOMECHANICS_SPATIAL_PARAMS_TRAITS__HH #define DUMUX_GEOMECHANICS_SPATIAL_PARAMS_TRAITS__HH -#ifndef DOXYGEN +#include <utility> + +#ifndef DOXYGEN namespace Dumux::Detail { // helper struct detecting if the user-defined spatial params class has a lameParamsAtPos function diff --git a/dumux/io/vtk/intersectionwriter.hh b/dumux/io/vtk/intersectionwriter.hh index 26d6b20b25..dc714043ce 100644 --- a/dumux/io/vtk/intersectionwriter.hh +++ b/dumux/io/vtk/intersectionwriter.hh @@ -32,6 +32,7 @@ #include <dune/grid/io/file/vtk/basicwriter.hh> #include <dune/grid/io/file/vtk/function.hh> #include <dune/grid/io/file/vtk/skeletonfunction.hh> +#include <dumux/common/parameters.hh> namespace Dumux::Detail { diff --git a/dumux/material/fluidmatrixinteractions/dispersiontensors/fulltensor.hh b/dumux/material/fluidmatrixinteractions/dispersiontensors/fulltensor.hh index 911ce3a371..426546258f 100644 --- a/dumux/material/fluidmatrixinteractions/dispersiontensors/fulltensor.hh +++ b/dumux/material/fluidmatrixinteractions/dispersiontensors/fulltensor.hh @@ -24,6 +24,9 @@ #ifndef DUMUX_MATERIAL_FLUIDMATRIX_DISPERSIONTENSORS_FULLTENSOR_HH #define DUMUX_MATERIAL_FLUIDMATRIX_DISPERSIONTENSORS_FULLTENSOR_HH +#include <dune/common/fmatrix.hh> +#include <dumux/common/properties.hh> + namespace Dumux { template<class TypeTag> diff --git a/dumux/material/fluidmatrixinteractions/dispersiontensors/scheidegger.hh b/dumux/material/fluidmatrixinteractions/dispersiontensors/scheidegger.hh index 23cd65c4b8..d2e8f57c95 100644 --- a/dumux/material/fluidmatrixinteractions/dispersiontensors/scheidegger.hh +++ b/dumux/material/fluidmatrixinteractions/dispersiontensors/scheidegger.hh @@ -27,7 +27,13 @@ #include <algorithm> #include <cmath> #include <dune/common/math.hh> +#include <dune/common/std/type_traits.hh> +#include <dune/common/fmatrix.hh> +#include <dumux/common/properties.hh> +#include <dumux/common/parameters.hh> +#include <dumux/discretization/method.hh> #include <dumux/flux/facetensoraverage.hh> +#include <dumux/flux/traits.hh> namespace Dumux { diff --git a/dumux/multidomain/boundary/freeflowporenetwork/couplingmapper.hh b/dumux/multidomain/boundary/freeflowporenetwork/couplingmapper.hh index b721a49bb6..8271cfb92e 100644 --- a/dumux/multidomain/boundary/freeflowporenetwork/couplingmapper.hh +++ b/dumux/multidomain/boundary/freeflowporenetwork/couplingmapper.hh @@ -35,6 +35,7 @@ #include <dune/common/timer.hh> #include <dune/common/exceptions.hh> #include <dune/common/indices.hh> +#include <dune/common/reservedvector.hh> #include <dune/geometry/axisalignedcubegeometry.hh> #include <dumux/geometry/diameter.hh> diff --git a/dumux/multidomain/couplingmanager.hh b/dumux/multidomain/couplingmanager.hh index 890b4f7a32..d9c430fee8 100644 --- a/dumux/multidomain/couplingmanager.hh +++ b/dumux/multidomain/couplingmanager.hh @@ -31,6 +31,9 @@ #include <dune/common/exceptions.hh> #include <dune/common/indices.hh> #include <dune/common/shared_ptr.hh> +#include <dune/common/hybridutilities.hh> +#include <dune/istl/multitypeblockvector.hh> + #include <dumux/assembly/numericepsilon.hh> #include <dumux/common/properties.hh> #include <dumux/common/typetraits/typetraits.hh> diff --git a/dumux/multidomain/embedded/localrefinementquadrature.hh b/dumux/multidomain/embedded/localrefinementquadrature.hh index c39168469b..e71371d71a 100644 --- a/dumux/multidomain/embedded/localrefinementquadrature.hh +++ b/dumux/multidomain/embedded/localrefinementquadrature.hh @@ -30,6 +30,8 @@ #include <utility> #include <algorithm> +#include <dune/common/exceptions.hh> + namespace Dumux { /*! diff --git a/dumux/multidomain/staggeredfreeflow/couplingmanager.hh b/dumux/multidomain/staggeredfreeflow/couplingmanager.hh index 4db220b1ca..f97deb25bc 100644 --- a/dumux/multidomain/staggeredfreeflow/couplingmanager.hh +++ b/dumux/multidomain/staggeredfreeflow/couplingmanager.hh @@ -32,6 +32,7 @@ #include <dune/common/exceptions.hh> #include <dune/common/indices.hh> +#include <dune/common/float_cmp.hh> #include <dumux/assembly/numericepsilon.hh> #include <dumux/common/properties.hh> diff --git a/dumux/parallel/multithreading.hh b/dumux/parallel/multithreading.hh index b8bf23402e..379a3e623f 100644 --- a/dumux/parallel/multithreading.hh +++ b/dumux/parallel/multithreading.hh @@ -25,6 +25,8 @@ #ifndef DUMUX_PARALLEL_MULTITHREADING_HH #define DUMUX_PARALLEL_MULTITHREADING_HH +#include <type_traits> + #ifndef DUMUX_MULTITHREADING_BACKEND #define DUMUX_MULTITHREADING_BACKEND Serial #endif diff --git a/dumux/porousmediumflow/compositional/localresidual.hh b/dumux/porousmediumflow/compositional/localresidual.hh index fefff8ed51..a7197427d1 100644 --- a/dumux/porousmediumflow/compositional/localresidual.hh +++ b/dumux/porousmediumflow/compositional/localresidual.hh @@ -31,6 +31,7 @@ #include <dumux/common/deprecated.hh> #include <dumux/common/properties.hh> #include <dumux/common/numeqvector.hh> +#include <dumux/discretization/method.hh> #include <dumux/flux/referencesystemformulation.hh> namespace Dumux { diff --git a/dumux/python/common/volumevariables.hh b/dumux/python/common/volumevariables.hh index cce94ab1cb..3c574796e2 100644 --- a/dumux/python/common/volumevariables.hh +++ b/dumux/python/common/volumevariables.hh @@ -1,6 +1,7 @@ #ifndef DUMUX_PYTHON_COMMON_VOLUMEVARIABLES_HH #define DUMUX_PYTHON_COMMON_VOLUMEVARIABLES_HH +#include <dune/common/std/type_traits.hh> #include <dune/python/pybind11/pybind11.h> #include <dune/python/pybind11/stl.h> diff --git a/dumux/python/porousmediumflow/velocityoutput.hh b/dumux/python/porousmediumflow/velocityoutput.hh index 1b53c62d7c..c0e4007aef 100644 --- a/dumux/python/porousmediumflow/velocityoutput.hh +++ b/dumux/python/porousmediumflow/velocityoutput.hh @@ -25,6 +25,7 @@ #define DUMUX_PYTHON_POROUSMEDIUMFLOW_VELOCITYOUTPUT_HH #include <dune/python/pybind11/pybind11.h> +#include <dune/python/common/typeregistry.hh> #include <dumux/porousmediumflow/velocityoutput.hh> namespace Dumux::Python { diff --git a/examples/liddrivencavity/properties.hh b/examples/liddrivencavity/properties.hh index a3468d77a0..5afc3d5ff1 100644 --- a/examples/liddrivencavity/properties.hh +++ b/examples/liddrivencavity/properties.hh @@ -33,6 +33,8 @@ // The single-phase flow Navier-Stokes equations are solved by coupling a momentum balance model to a mass balance model. #include <dumux/freeflow/navierstokes/momentum/model.hh> #include <dumux/freeflow/navierstokes/mass/1p/model.hh> +#include <dumux/multidomain/traits.hh> +#include <dumux/multidomain/staggeredfreeflow/couplingmanager.hh> // We want to use `YaspGrid`, an implementation of the dune grid interface for structured grids: #include <dune/grid/yaspgrid.hh> diff --git a/test/discretization/facecentered/staggered/drawgrid.hh b/test/discretization/facecentered/staggered/drawgrid.hh index ae3f634bd5..9f0c8e21ab 100644 --- a/test/discretization/facecentered/staggered/drawgrid.hh +++ b/test/discretization/facecentered/staggered/drawgrid.hh @@ -24,11 +24,16 @@ #ifndef DUMUX_DISCRETIZATION_FACECENTERED_STAGGERED_DRAWGRID_HH #define DUMUX_DISCRETIZATION_FACECENTERED_STAGGERED_DRAWGRID_HH +#include <iostream> #include <fstream> #include <string> +#include <array> +#include <utility> #include <dune/common/exceptions.hh> +#include <dumux/discretization/facecentered/staggered/normalaxis.hh> + namespace Dumux { namespace { diff --git a/test/freeflow/navierstokes/analyticalsolutionvectors.hh b/test/freeflow/navierstokes/analyticalsolutionvectors.hh index 669ae4cb05..82ec2f3116 100644 --- a/test/freeflow/navierstokes/analyticalsolutionvectors.hh +++ b/test/freeflow/navierstokes/analyticalsolutionvectors.hh @@ -24,6 +24,11 @@ #ifndef DUMUX_TEST_FREEFLOW_NAVIERSTOKES_ANALYTICALSOLVECTORS_HH #define DUMUX_TEST_FREEFLOW_NAVIERSTOKES_ANALYTICALSOLVECTORS_HH +#include <vector> +#include <memory> +#include <type_traits> +#include <dune/common/fvector.hh> + namespace Dumux { /*! * \ingroup NavierStokesTests diff --git a/test/freeflow/navierstokes/angeli/properties.hh b/test/freeflow/navierstokes/angeli/properties.hh index 976b49397d..4874fcde23 100644 --- a/test/freeflow/navierstokes/angeli/properties.hh +++ b/test/freeflow/navierstokes/angeli/properties.hh @@ -29,7 +29,7 @@ #include <dumux/freeflow/navierstokes/momentum/model.hh> #include <dumux/freeflow/navierstokes/mass/1p/model.hh> - +#include <dumux/multidomain/traits.hh> #include <dumux/discretization/fcstaggered.hh> #include <dumux/discretization/cctpfa.hh> diff --git a/test/freeflow/navierstokes/channel/1d/properties.hh b/test/freeflow/navierstokes/channel/1d/properties.hh index a1b1c05d70..ce8b3f187d 100644 --- a/test/freeflow/navierstokes/channel/1d/properties.hh +++ b/test/freeflow/navierstokes/channel/1d/properties.hh @@ -31,6 +31,7 @@ #include <dumux/freeflow/navierstokes/momentum/model.hh> #include <dumux/freeflow/navierstokes/mass/1p/model.hh> +#include <dumux/multidomain/traits.hh> #include <dumux/material/components/constant.hh> #include <dumux/material/fluidsystems/1pliquid.hh> diff --git a/test/freeflow/navierstokes/channel/2d/problem.hh b/test/freeflow/navierstokes/channel/2d/problem.hh index b29ad6ce3f..a936e67100 100644 --- a/test/freeflow/navierstokes/channel/2d/problem.hh +++ b/test/freeflow/navierstokes/channel/2d/problem.hh @@ -34,6 +34,7 @@ #include <dumux/freeflow/navierstokes/momentum/fluxhelper.hh> #include <dumux/freeflow/navierstokes/scalarfluxhelper.hh> +#include <dumux/freeflow/navierstokes/mass/1p/advectiveflux.hh> namespace Dumux { diff --git a/test/freeflow/navierstokes/channel/2d/properties.hh b/test/freeflow/navierstokes/channel/2d/properties.hh index 44043017a9..944f2fe302 100644 --- a/test/freeflow/navierstokes/channel/2d/properties.hh +++ b/test/freeflow/navierstokes/channel/2d/properties.hh @@ -37,6 +37,7 @@ #include <dumux/material/components/simpleh2o.hh> #include <dumux/multidomain/staggeredfreeflow/couplingmanager.hh> +#include <dumux/multidomain/traits.hh> #include "problem.hh" diff --git a/test/freeflow/navierstokes/channel/3d/problem.hh b/test/freeflow/navierstokes/channel/3d/problem.hh index 6de441a3e1..7a4a5c2148 100644 --- a/test/freeflow/navierstokes/channel/3d/problem.hh +++ b/test/freeflow/navierstokes/channel/3d/problem.hh @@ -36,6 +36,7 @@ #include <dumux/freeflow/navierstokes/problem.hh> #include <dumux/freeflow/navierstokes/momentum/fluxhelper.hh> #include <dumux/freeflow/navierstokes/scalarfluxhelper.hh> +#include <dumux/freeflow/navierstokes/mass/1p/advectiveflux.hh> namespace Dumux { diff --git a/test/freeflow/navierstokes/channel/3d/properties.hh b/test/freeflow/navierstokes/channel/3d/properties.hh index eac8cef3e5..a9e0182192 100644 --- a/test/freeflow/navierstokes/channel/3d/properties.hh +++ b/test/freeflow/navierstokes/channel/3d/properties.hh @@ -41,7 +41,7 @@ #include <dumux/discretization/fcstaggered.hh> #include <dumux/discretization/cctpfa.hh> #include <dumux/multidomain/staggeredfreeflow/couplingmanager.hh> - +#include <dumux/multidomain/traits.hh> #include <dumux/freeflow/navierstokes/momentum/model.hh> #include <dumux/freeflow/navierstokes/mass/1p/model.hh> diff --git a/test/freeflow/navierstokes/channel/pipe/problem.hh b/test/freeflow/navierstokes/channel/pipe/problem.hh index f30c6cc89c..aa4fd0bb7d 100644 --- a/test/freeflow/navierstokes/channel/pipe/problem.hh +++ b/test/freeflow/navierstokes/channel/pipe/problem.hh @@ -26,6 +26,7 @@ #include <dumux/freeflow/navierstokes/problem.hh> #include <dumux/freeflow/navierstokes/momentum/fluxhelper.hh> #include <dumux/freeflow/navierstokes/scalarfluxhelper.hh> +#include <dumux/freeflow/navierstokes/mass/1p/advectiveflux.hh> namespace Dumux { /*! diff --git a/test/freeflow/navierstokes/channel/pipe/properties.hh b/test/freeflow/navierstokes/channel/pipe/properties.hh index 9069d9303b..4f9fd0f915 100644 --- a/test/freeflow/navierstokes/channel/pipe/properties.hh +++ b/test/freeflow/navierstokes/channel/pipe/properties.hh @@ -37,6 +37,7 @@ #include <dumux/material/components/constant.hh> #include <dumux/multidomain/staggeredfreeflow/couplingmanager.hh> +#include <dumux/multidomain/traits.hh> #include "problem.hh" diff --git a/test/freeflow/navierstokes/donea/problem.hh b/test/freeflow/navierstokes/donea/problem.hh index 59c6b18d61..4c580acb05 100644 --- a/test/freeflow/navierstokes/donea/problem.hh +++ b/test/freeflow/navierstokes/donea/problem.hh @@ -24,9 +24,12 @@ #ifndef DUMUX_DONEA_TEST_PROBLEM_HH #define DUMUX_DONEA_TEST_PROBLEM_HH +#include <dune/common/fmatrix.hh> + #include <dumux/common/properties.hh> #include <dumux/common/parameters.hh> #include <dumux/freeflow/navierstokes/problem.hh> +#include <dumux/freeflow/navierstokes/mass/1p/advectiveflux.hh> namespace Dumux { diff --git a/test/freeflow/navierstokes/donea/properties.hh b/test/freeflow/navierstokes/donea/properties.hh index 9247d3c52f..7306b8fc84 100644 --- a/test/freeflow/navierstokes/donea/properties.hh +++ b/test/freeflow/navierstokes/donea/properties.hh @@ -39,7 +39,8 @@ #include <dumux/freeflow/navierstokes/momentum/model.hh> #include <dumux/freeflow/navierstokes/mass/1p/model.hh> - +#include <dumux/multidomain/traits.hh> +#include <dumux/multidomain/staggeredfreeflow/couplingmanager.hh> #include <dumux/material/components/constant.hh> #include <dumux/material/fluidsystems/1pliquid.hh> diff --git a/test/freeflow/navierstokes/errors.hh b/test/freeflow/navierstokes/errors.hh index 93409d55a8..b77874e995 100644 --- a/test/freeflow/navierstokes/errors.hh +++ b/test/freeflow/navierstokes/errors.hh @@ -26,7 +26,9 @@ #include <vector> #include <cmath> +#include <fstream> #include <dune/common/indices.hh> +#include <dune/common/fvector.hh> #include <dumux/discretization/extrusion.hh> #include <dumux/io/format.hh> diff --git a/test/freeflow/navierstokes/periodic/properties.hh b/test/freeflow/navierstokes/periodic/properties.hh index e5b1686496..7bb135b868 100644 --- a/test/freeflow/navierstokes/periodic/properties.hh +++ b/test/freeflow/navierstokes/periodic/properties.hh @@ -35,6 +35,7 @@ #include <dumux/freeflow/navierstokes/mass/1p/model.hh> #include <dumux/multidomain/staggeredfreeflow/couplingmanager.hh> +#include <dumux/multidomain/traits.hh> #include <dumux/discretization/fcstaggered.hh> #include <dumux/discretization/cctpfa.hh> diff --git a/test/freeflow/navierstokes/sincos/problem.hh b/test/freeflow/navierstokes/sincos/problem.hh index 8ebc251abb..6c15b95992 100644 --- a/test/freeflow/navierstokes/sincos/problem.hh +++ b/test/freeflow/navierstokes/sincos/problem.hh @@ -24,6 +24,8 @@ #ifndef DUMUX_SINCOS_TEST_PROBLEM_HH #define DUMUX_SINCOS_TEST_PROBLEM_HH +#include <dune/common/fmatrix.hh> + #include <dumux/common/parameters.hh> #include <dumux/common/properties.hh> diff --git a/test/freeflow/navierstokes/sincos/properties.hh b/test/freeflow/navierstokes/sincos/properties.hh index 72e992d08d..8810efed5f 100644 --- a/test/freeflow/navierstokes/sincos/properties.hh +++ b/test/freeflow/navierstokes/sincos/properties.hh @@ -36,7 +36,7 @@ #include <dumux/material/fluidsystems/1pliquid.hh> #include <dumux/multidomain/staggeredfreeflow/couplingmanager.hh> - +#include <dumux/multidomain/traits.hh> #include "problem.hh" namespace Dumux::Properties { diff --git a/test/multidomain/boundary/freeflowporenetwork/1p_1p/problem_freeflow.hh b/test/multidomain/boundary/freeflowporenetwork/1p_1p/problem_freeflow.hh index be9236e7cc..522686b73f 100644 --- a/test/multidomain/boundary/freeflowporenetwork/1p_1p/problem_freeflow.hh +++ b/test/multidomain/boundary/freeflowporenetwork/1p_1p/problem_freeflow.hh @@ -29,6 +29,7 @@ #include <dumux/freeflow/navierstokes/momentum/fluxhelper.hh> #include <dumux/freeflow/navierstokes/problem.hh> #include <dumux/freeflow/navierstokes/scalarfluxhelper.hh> +#include <dumux/freeflow/navierstokes/mass/1p/advectiveflux.hh> namespace Dumux { diff --git a/test/multidomain/boundary/freeflowporenetwork/1p_1p/properties.hh b/test/multidomain/boundary/freeflowporenetwork/1p_1p/properties.hh index 9ae19ef331..9c220faae5 100644 --- a/test/multidomain/boundary/freeflowporenetwork/1p_1p/properties.hh +++ b/test/multidomain/boundary/freeflowporenetwork/1p_1p/properties.hh @@ -24,6 +24,7 @@ #ifndef DUMUX_PNMSTOKES_PROPERTIES_HH #define DUMUX_PNMSTOKES_PROPERTIES_HH +#include <dune/foamgrid/foamgrid.hh> #include <dune/grid/yaspgrid.hh> #include <dumux/material/fluidsystems/1pliquid.hh> diff --git a/test/multidomain/boundary/freeflowporousmedium/1p_1p/convergence/problem_freeflow.hh b/test/multidomain/boundary/freeflowporousmedium/1p_1p/convergence/problem_freeflow.hh index 5a90c741dc..c71c5d1ca0 100644 --- a/test/multidomain/boundary/freeflowporousmedium/1p_1p/convergence/problem_freeflow.hh +++ b/test/multidomain/boundary/freeflowporousmedium/1p_1p/convergence/problem_freeflow.hh @@ -29,6 +29,7 @@ #include <dumux/common/properties.hh> #include <dumux/freeflow/navierstokes/momentum/fluxhelper.hh> #include <dumux/freeflow/navierstokes/scalarfluxhelper.hh> +#include <dumux/freeflow/navierstokes/mass/1p/advectiveflux.hh> #include <dune/common/fmatrix.hh> #include "testcase.hh" diff --git a/test/multidomain/boundary/freeflowporousmedium/1p_1p/problem_freeflow.hh b/test/multidomain/boundary/freeflowporousmedium/1p_1p/problem_freeflow.hh index cf6b4156d0..868d732610 100644 --- a/test/multidomain/boundary/freeflowporousmedium/1p_1p/problem_freeflow.hh +++ b/test/multidomain/boundary/freeflowporousmedium/1p_1p/problem_freeflow.hh @@ -30,6 +30,7 @@ #include <dumux/common/properties.hh> #include <dumux/freeflow/navierstokes/momentum/fluxhelper.hh> #include <dumux/freeflow/navierstokes/scalarfluxhelper.hh> +#include <dumux/freeflow/navierstokes/mass/1p/advectiveflux.hh> namespace Dumux { diff --git a/test/multidomain/embedded/1d3d/1p_richards/problem_root.hh b/test/multidomain/embedded/1d3d/1p_richards/problem_root.hh index 228b8ae8c1..ffeebaa262 100644 --- a/test/multidomain/embedded/1d3d/1p_richards/problem_root.hh +++ b/test/multidomain/embedded/1d3d/1p_richards/problem_root.hh @@ -32,7 +32,7 @@ #include <dumux/common/numeqvector.hh> #include <dumux/porousmediumflow/problem.hh> - +#include <dumux/multidomain/embedded/couplingmanager1d3d_projection.hh> namespace Dumux { /*! diff --git a/test/multidomain/embedded/1d3d/1p_richards/problem_soil.hh b/test/multidomain/embedded/1d3d/1p_richards/problem_soil.hh index 447b36f2cc..25f00f7c81 100644 --- a/test/multidomain/embedded/1d3d/1p_richards/problem_soil.hh +++ b/test/multidomain/embedded/1d3d/1p_richards/problem_soil.hh @@ -35,6 +35,7 @@ #include <dumux/common/properties.hh> #include <dumux/porousmediumflow/problem.hh> +#include <dumux/multidomain/embedded/couplingmanager1d3d_projection.hh> namespace Dumux { diff --git a/test/porousmediumflow/2p2c/evaporation/properties.hh b/test/porousmediumflow/2p2c/evaporation/properties.hh index 8ddf580b00..6e62f6726b 100644 --- a/test/porousmediumflow/2p2c/evaporation/properties.hh +++ b/test/porousmediumflow/2p2c/evaporation/properties.hh @@ -36,6 +36,10 @@ #include "constant2p2cfluidsystem.hh" #include "problem.hh" +#ifndef WETTINGCOMPONENT +#define WETTINGCOMPONENT Components::Constant<2,Scalar> +#endif + namespace Dumux::Properties { // Create new type tags diff --git a/test/porousmediumflow/2pnc/surfactant/fluidsystem.hh b/test/porousmediumflow/2pnc/surfactant/fluidsystem.hh index 4e75499516..a1d6b1677a 100644 --- a/test/porousmediumflow/2pnc/surfactant/fluidsystem.hh +++ b/test/porousmediumflow/2pnc/surfactant/fluidsystem.hh @@ -25,8 +25,9 @@ #define DUMUX_TEST_2P3C_SURFACTANT_FLUIDSYSTEM_HH #include <cassert> - +#include <limits> #include <dune/common/exceptions.hh> +#include <dumux/common/parameters.hh> #include <dumux/material/fluidsystems/base.hh> namespace Dumux::FluidSystems { diff --git a/test/porousmediumflow/2pnc/surfactant/problem.hh b/test/porousmediumflow/2pnc/surfactant/problem.hh index 96139feaa1..a1e154c27c 100644 --- a/test/porousmediumflow/2pnc/surfactant/problem.hh +++ b/test/porousmediumflow/2pnc/surfactant/problem.hh @@ -30,6 +30,7 @@ #include <dumux/common/numeqvector.hh> #include <dumux/porousmediumflow/problem.hh> +#include <dumux/porousmediumflow/2p/formulation.hh> namespace Dumux { -- GitLab