Commit 4359470a authored by Timo Koch's avatar Timo Koch
Browse files

[fix] headercheck

parent 52fa3c46
......@@ -25,6 +25,9 @@
#ifndef DUMUX_COMMON_TYPETRAITS_UTILITY_HH
#define DUMUX_COMMON_TYPETRAITS_UTILITY_HH
#include <cstddef>
#include <utility>
namespace Dumux {
/*
......
......@@ -29,6 +29,8 @@
#include <iterator>
#include <vector>
#include <dune/common/exceptions.hh>
namespace Dumux {
/*!
......
......@@ -25,8 +25,8 @@
#ifndef DUMUX_FREEFLOW_NC_VOLUMEVARIABLES_HH
#define DUMUX_FREEFLOW_NC_VOLUMEVARIABLES_HH
#include <array>
#include <dune/common/exceptions.hh>
#include <dumux/freeflow/volumevariables.hh>
namespace Dumux {
......
......@@ -43,6 +43,7 @@
#ifndef DUMUX_FREEFLOW_NI_MODEL_HH
#define DUMUX_FREEFLOW_NI_MODEL_HH
#include <string>
#include "indices.hh"
namespace Dumux {
......
......@@ -24,6 +24,7 @@
#ifndef DUMUX_POROELASTIC_IO_FIELDS_HH
#define DUMUX_POROELASTIC_IO_FIELDS_HH
#include <dune/common/deprecated.hh>
#include <dumux/io/name.hh>
namespace Dumux {
......
......@@ -26,6 +26,7 @@
#include <memory>
#include <algorithm>
#include <map>
#include <dune/common/parallel/collectivecommunication.hh>
#include <dune/grid/common/partitionset.hh>
......
......@@ -32,6 +32,8 @@
#include <dune/common/parallel/collectivecommunication.hh>
#include <dune/common/parallel/mpihelper.hh>
#include <dune/grid/common/gridfactory.hh>
#include <dune/grid/io/file/dgfparser/parser.hh>
#include <dune/grid/io/file/dgfparser/gridptr.hh>
// UGGrid specific includes
#if HAVE_UG
......
......@@ -34,11 +34,14 @@
#include <dune/common/exceptions.hh>
#include <dune/common/indices.hh>
#include <dune/grid/common/partitionset.hh>
#include <dumux/common/parameters.hh>
#include <dumux/common/typetraits/isvalid.hh>
#include <dumux/common/typetraits/vector.hh>
#include <dumux/io/vtk/vtkreader.hh>
#include <dumux/discretization/method.hh>
namespace Dumux {
namespace Detail {
......
......@@ -24,6 +24,7 @@
#ifndef DUMUX_BINARY_COEFF_BRINE_CO2_HH
#define DUMUX_BINARY_COEFF_BRINE_CO2_HH
#include <dumux/common/parameters.hh>
#include <dumux/material/components/brine.hh>
#include <dumux/material/components/h2o.hh>
#include <dumux/material/components/co2.hh>
......
......@@ -1078,6 +1078,11 @@ typename RawComponent::Scalar TabulatedComponent<RawComponent, useVaporPressure>
template <class RawComponent, bool useVaporPressure>
unsigned TabulatedComponent<RawComponent, useVaporPressure>::nDensity_;
// forward declaration
template <class Component>
struct IsAqueous;
// we are aqueous if the raw compont is so
template <class RawComponent, bool useVaporPressure>
struct IsAqueous<TabulatedComponent<RawComponent, useVaporPressure>> : public IsAqueous<RawComponent> {};
......
......@@ -146,11 +146,7 @@ public:
int phaseIdx,
bool isGasPhase)
{
Valgrind::CheckDefined(fs.temperature(phaseIdx));
Valgrind::CheckDefined(fs.pressure(phaseIdx));
Scalar Vm = 0;
Valgrind::SetUndefined(Vm);
Scalar T = fs.temperature(phaseIdx);
Scalar p = fs.pressure(phaseIdx);
......@@ -213,7 +209,6 @@ public:
}
}
Valgrind::CheckDefined(Vm);
using std::isfinite;
assert(isfinite(Vm) && Vm > 0);
return Vm;
......
......@@ -24,6 +24,7 @@
#ifndef DUMUX_2P2C_FLUID_STATE_HH
#define DUMUX_2P2C_FLUID_STATE_HH
#include <cmath>
#include <dune/common/deprecated.hh>
namespace Dumux {
......
......@@ -30,6 +30,7 @@
#include <cmath>
#include <type_traits>
#include <cassert>
#include <array>
#include <dune/common/exceptions.hh>
......
......@@ -25,6 +25,8 @@
#define DUMUX_BASE_FLUID_SYSTEM_HH
#include <string>
#include <dune/common/exceptions.hh>
#include <dumux/common/typetraits/typetraits.hh>
#include "nullparametercache.hh"
......
......@@ -27,6 +27,8 @@
#ifndef DUMUX_STOKES_DARCY_COUPLINGDATA_HH
#define DUMUX_STOKES_DARCY_COUPLINGDATA_HH
#include <numeric>
#include <dumux/common/properties.hh>
#include <dumux/common/math.hh>
#include <dumux/multidomain/couplingmanager.hh>
......
......@@ -34,6 +34,7 @@
#include <dune/common/exceptions.hh>
#include <dumux/common/properties.hh>
#include <dumux/multidomain/staggeredcouplingmanager.hh>
#include <dumux/discretization/staggered/elementsolution.hh>
#include "couplingdata.hh"
#include "couplingmapper.hh"
......
......@@ -32,8 +32,11 @@
#include <string>
#include <utility>
#include <memory>
#include <unordered_map>
#include <vector>
#include <dune/common/timer.hh>
#include <dune/common/exceptions.hh>
#include <dumux/common/properties.hh>
#include <dumux/discretization/method.hh>
......
......@@ -26,6 +26,7 @@
#define DUMUX_MUTLIDOMAIN_COUPLING_JACOBIAN_PATTERN_HH
#include <type_traits>
#include <dune/common/indices.hh>
#include <dune/istl/matrixindexset.hh>
#include <dumux/discretization/method.hh>
......
......@@ -29,6 +29,8 @@
#include <vector>
#include <cmath>
#include <dune/common/exceptions.hh>
namespace Dumux {
namespace EmbeddedCoupling {
......
......@@ -27,7 +27,13 @@
#define DUMUX_MULTIDOMAIN_EMBEDDED_EXTENDEDSOURCESTENCIL_HH
#include <vector>
#include <dune/common/indices.hh>
#include <dumux/common/properties.hh>
#include <dumux/common/parameters.hh>
#include <dumux/common/numericdifferentiation.hh>
#include <dumux/discretization/method.hh>
namespace Dumux {
namespace EmbeddedCoupling {
......
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