Commit 10ce6617 authored by Timo Koch's avatar Timo Koch
Browse files

[assembly] Fix missing includes

parent 65fd5620
......@@ -29,6 +29,7 @@
#include <dune/istl/bvector.hh>
#include <dumux/common/properties.hh>
#include <dumux/common/parameters.hh>
#include <dumux/assembly/diffmethod.hh>
namespace Dumux {
......
......@@ -33,6 +33,7 @@
#include <dune/istl/bvector.hh>
#include <dumux/common/properties.hh>
#include <dumux/common/parameters.hh>
#include <dumux/assembly/diffmethod.hh>
namespace Dumux {
......
......@@ -37,6 +37,7 @@
#if DUNE_VERSION_NEWER(DUNE_COMMON,2,6)
#include <dune/common/hybridutilities.hh>
#include <dune/common/rangeutilities.hh>
#else
#include <dumux/common/intrange.hh>
#endif
......@@ -607,7 +608,6 @@ protected:
assert(eqIdx < matrix[globalI][globalJ].size());
assert(pvIdx < matrix[globalI][globalJ][eqIdx].size());
matrix[globalI][globalJ][eqIdx][pvIdx] += partialDeriv[eqIdx];
Valgrind::CheckDefined(matrix[globalI][globalJ][eqIdx][pvIdx]);
}
}
......@@ -617,11 +617,11 @@ protected:
{
constexpr auto numEqCellCenter = GET_PROP_VALUE(TypeTag, NumEqCellCenter);
#if DUNE_VERSION_NEWER(DUNE_COMMON,2,6)
#if DUNE_VERSION_NEWER(DUNE_COMMON,2,6)
return Dune::range(0, numEqCellCenter);
#else
#else
return IntRange(0, numEqCellCenter);
#endif
#endif
}
//! Helper function that returns an iterable range of primary variable indices.
......
......@@ -25,15 +25,11 @@
#ifndef DUMUX_STAGGERED_LOCAL_RESIDUAL_HH
#define DUMUX_STAGGERED_LOCAL_RESIDUAL_HH
#include <dumux/common/valgrind.hh>
#include <dumux/common/timeloop.hh>
#include <dumux/common/properties.hh>
namespace Dumux {
namespace Properties
{
NEW_PROP_TAG(ElementFaceVariables);
}
/*!
* \ingroup StaggeredDiscretization
* \ingroup Assembly
......
Markdown is supported
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