diff --git a/opm/core/simulator/BlackoilState.cpp b/opm/core/simulator/BlackoilState.cpp index 225567c2c..6ed34f63d 100644 --- a/opm/core/simulator/BlackoilState.cpp +++ b/opm/core/simulator/BlackoilState.cpp @@ -12,6 +12,7 @@ const std::string BlackoilState::GASOILRATIO = "GASOILRATIO"; const std::string BlackoilState::RV = "RV"; const std::string BlackoilState::SURFACEVOL = "SURFACEVOL"; const std::string BlackoilState::SSOL = "SSOL"; +const std::string BlackoilState::POLYMER = "POLYMER"; BlackoilState::BlackoilState( size_t num_cells , size_t num_faces , size_t num_phases) @@ -21,6 +22,7 @@ BlackoilState::BlackoilState( size_t num_cells , size_t num_faces , size_t num_p registerCellData( RV, 1 ); registerCellData( SURFACEVOL, num_phases ); registerCellData( SSOL , 1 ); + registerCellData( POLYMER , 1 ); setBlackoilStateReferencePointers(); } diff --git a/opm/core/simulator/BlackoilState.hpp b/opm/core/simulator/BlackoilState.hpp index a5dc428ae..276ee21c3 100644 --- a/opm/core/simulator/BlackoilState.hpp +++ b/opm/core/simulator/BlackoilState.hpp @@ -44,6 +44,7 @@ namespace Opm static const std::string RV; static const std::string SURFACEVOL; static const std::string SSOL; + static const std::string POLYMER; /// Main constructor setting the sizes for the contained data /// types.