Make function in header file inline.
This commit is contained in:
parent
bfd3246d33
commit
f0692b14e9
@ -22,7 +22,7 @@ double faceArea(const Dune::CpGrid&, int);
|
|||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
#ifdef HAVE_DUNE_CORNERPOINT
|
#ifdef HAVE_DUNE_CORNERPOINT
|
||||||
const double* multiplyFaceNormalWithArea(const Dune::CpGrid& grid, int face_index, const double* in)
|
inline const double* multiplyFaceNormalWithArea(const Dune::CpGrid& grid, int face_index, const double* in)
|
||||||
{
|
{
|
||||||
int d=Opm::UgGridHelpers::dimensions(grid);
|
int d=Opm::UgGridHelpers::dimensions(grid);
|
||||||
double* out=new double[d];
|
double* out=new double[d];
|
||||||
|
Loading…
Reference in New Issue
Block a user