From d6f63f7d0cfe8654f3d0ff87fcbead62f18c86ba Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Thu, 5 Feb 2015 15:41:02 +0100 Subject: [PATCH] Makes BlackoilPropertiesFromDeck copyable. We need this for the parallel sim_fibo_ad_cp, where we will need to point to the same parts in two copies without duplicating data. --- opm/core/props/BlackoilPropertiesFromDeck.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/core/props/BlackoilPropertiesFromDeck.hpp b/opm/core/props/BlackoilPropertiesFromDeck.hpp index cbcd35a8..8a4b1c33 100644 --- a/opm/core/props/BlackoilPropertiesFromDeck.hpp +++ b/opm/core/props/BlackoilPropertiesFromDeck.hpp @@ -259,7 +259,7 @@ namespace Opm RockFromDeck rock_; std::vector cellPvtRegionIdx_; BlackoilPvtProperties pvt_; - std::unique_ptr satprops_; + std::shared_ptr satprops_; mutable std::vector B_; mutable std::vector dB_; mutable std::vector R_;