From 20f3a4151a0969357705a623cb809d8473a3a367 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 cbcd35a85..8a4b1c339 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_;