Added soMax to flow_legacy

This commit is contained in:
babrodtk
2017-03-15 13:51:51 +01:00
parent bd0507cc3b
commit e0e1ca51e6
7 changed files with 27 additions and 13 deletions

View File

@@ -154,7 +154,7 @@ public:
typedef std::vector<double> VectorType;
VectorType& somax = state.getCellData( "SOMAX" );
const VectorType& somax = state.getCellData( "SOMAX" );
for (int cellIdx = 0; cellIdx < num_cells; ++cellIdx) {
ebosSimulator_.model().setMaxOilSaturation(somax[cellIdx], cellIdx);