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.
This commit is contained in:
Markus Blatt
2015-02-05 15:41:02 +01:00
parent fb983a44b1
commit 20f3a4151a

View File

@@ -259,7 +259,7 @@ namespace Opm
RockFromDeck rock_; RockFromDeck rock_;
std::vector<int> cellPvtRegionIdx_; std::vector<int> cellPvtRegionIdx_;
BlackoilPvtProperties pvt_; BlackoilPvtProperties pvt_;
std::unique_ptr<SaturationPropsInterface> satprops_; std::shared_ptr<SaturationPropsInterface> satprops_;
mutable std::vector<double> B_; mutable std::vector<double> B_;
mutable std::vector<double> dB_; mutable std::vector<double> dB_;
mutable std::vector<double> R_; mutable std::vector<double> R_;