some minor fixes

i.e., removing redundant namespace open- and closings due to the fact
that the property system now resides in the 'Ewoms' namspace instead
of in 'Opm', and making the headercheck work for all headers.
This commit is contained in:
Andreas Lauser
2015-05-21 16:19:13 +02:00
parent 46bd76407d
commit 2b4d70e3d9
7 changed files with 8 additions and 25 deletions

View File

@@ -43,9 +43,7 @@
namespace Ewoms {
template <class TypeTag>
class RichardsLensProblem;
}
namespace Ewoms {
namespace Properties {
NEW_TYPE_TAG(RichardsLensProblem, INHERITS_FROM(Richards));
@@ -118,9 +116,8 @@ SET_SCALAR_PROP(RichardsLensProblem, InitialTimeStepSize, 100);
// The default DGF file to load
SET_STRING_PROP(RichardsLensProblem, GridFile, "./data/richardslens_24x16.dgf");
}} // namespace Ewoms, Properties
} // namespace Properties
namespace Ewoms {
/*!
* \ingroup TestProblems
*
@@ -331,7 +328,7 @@ public:
Scalar referencePressure(const Context &context,
int spaceIdx,
int timeIdx) const
{ return referencePressure(context.globalSpaceIndex(spaceIdx, timeIdx), timeIdx); };
{ return referencePressure(context.globalSpaceIndex(spaceIdx, timeIdx), timeIdx); }
// the Richards model does not have an element context available at all places
// where the reference pressure is required...