From d6d58d4045f2cc8931025273e2df591d36fd5d23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A5rd=20Skaflestad?= Date: Thu, 10 Apr 2014 00:51:28 +0200 Subject: [PATCH] Declare initBlackoilStateFromDeck(DeckConstPtr) This was missing in commit 4c2120c and produced some build failures that were hard to analyse. I'm not convinced that the underlying problem is solved, but this does at least restore the build. --- opm/core/simulator/initState.hpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/opm/core/simulator/initState.hpp b/opm/core/simulator/initState.hpp index 7f323d009..4c3a8cc6a 100644 --- a/opm/core/simulator/initState.hpp +++ b/opm/core/simulator/initState.hpp @@ -20,6 +20,8 @@ #ifndef OPM_INITSTATE_HEADER_INCLUDED #define OPM_INITSTATE_HEADER_INCLUDED +#include // DeckConstPtr + struct UnstructuredGrid; namespace Opm @@ -225,6 +227,20 @@ namespace Opm const EclipseGridParser& deck, const double gravity, State& state); + + /// Initialize a blackoil state from input deck. + template + void initBlackoilStateFromDeck(int number_of_cells, + const int* global_cell, + int number_of_faces, + FaceCells face_cells, + FCI begin_face_centroids, + CCI begin_cell_centroids, + int dimensions, + const Props& props, + Opm::DeckConstPtr newParserDeck, + const double gravity, + State& state); } // namespace Opm #include