Add polymer to blackoilstate
This commit is contained in:
parent
a8a46ee5ae
commit
fc380041f2
@ -12,6 +12,7 @@ const std::string BlackoilState::GASOILRATIO = "GASOILRATIO";
|
|||||||
const std::string BlackoilState::RV = "RV";
|
const std::string BlackoilState::RV = "RV";
|
||||||
const std::string BlackoilState::SURFACEVOL = "SURFACEVOL";
|
const std::string BlackoilState::SURFACEVOL = "SURFACEVOL";
|
||||||
const std::string BlackoilState::SSOL = "SSOL";
|
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)
|
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( RV, 1 );
|
||||||
registerCellData( SURFACEVOL, num_phases );
|
registerCellData( SURFACEVOL, num_phases );
|
||||||
registerCellData( SSOL , 1 );
|
registerCellData( SSOL , 1 );
|
||||||
|
registerCellData( POLYMER , 1 );
|
||||||
setBlackoilStateReferencePointers();
|
setBlackoilStateReferencePointers();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -44,6 +44,7 @@ namespace Opm
|
|||||||
static const std::string RV;
|
static const std::string RV;
|
||||||
static const std::string SURFACEVOL;
|
static const std::string SURFACEVOL;
|
||||||
static const std::string SSOL;
|
static const std::string SSOL;
|
||||||
|
static const std::string POLYMER;
|
||||||
|
|
||||||
/// Main constructor setting the sizes for the contained data
|
/// Main constructor setting the sizes for the contained data
|
||||||
/// types.
|
/// types.
|
||||||
|
Loading…
Reference in New Issue
Block a user