Rename HAVE_DUNE_CORNERPOINT -> HAVE_OPM_GRID.

Note that this is quite strange since opm-core is upstream and not downstream
from opm-grid. However, when this file is used from opm-autodiff the macro is used.
This commit is contained in:
Atgeirr Flø Rasmussen 2016-04-05 15:14:02 +02:00
parent 2b9b1f8b05
commit b5cbf0ea2d

View File

@ -21,7 +21,7 @@ double faceArea(const Dune::CpGrid&, int);
namespace
{
#ifdef HAVE_DUNE_CORNERPOINT
#ifdef HAVE_OPM_GRID
inline const double* multiplyFaceNormalWithArea(const Dune::CpGrid& grid, int face_index, const double* in)
{
int d=Opm::UgGridHelpers::dimensions(grid);
@ -37,7 +37,7 @@ inline void maybeFreeFaceNormal(const Dune::CpGrid&, const double* array)
{
delete[] array;
}
#endif // HAVE_DUNE_CORNERPOINT
#endif // HAVE_OPM_GRID
inline const double* multiplyFaceNormalWithArea(const UnstructuredGrid&, int, const double* in)
{