mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fixing some compilation error after rebase.
while a lot of new stuff have not entered, since many of the essential parts are in different files now. Rebasing will not incoporate the new stuff automatically.
This commit is contained in:
@@ -1044,7 +1044,7 @@ namespace Opm {
|
||||
|
||||
std::vector< Scalar > maxNormWell(numComp, Scalar() );
|
||||
|
||||
auto& grid = ebosSimulator.gridManager().grid();
|
||||
const auto& grid = ebosSimulator.gridManager().grid();
|
||||
const auto& gridView = grid.leafGridView();
|
||||
ElementContext elemCtx(ebosSimulator);
|
||||
const auto& elemEndIt = gridView.template end</*codim=*/0, Dune::Interior_Partition>();
|
||||
@@ -1088,7 +1088,6 @@ namespace Opm {
|
||||
}
|
||||
}
|
||||
|
||||
const auto& grid = ebosSimulator.gridManager().grid();
|
||||
grid.comm().max(maxNormWell.data(), maxNormWell.size());
|
||||
|
||||
Vector well_flux_residual(numComp);
|
||||
@@ -3122,7 +3121,7 @@ namespace Opm {
|
||||
B += 1 / fs.invB(ebosPhaseIdx).value();
|
||||
}
|
||||
if (has_solvent_) {
|
||||
auto& B = B_avg[ solventCompIdx ];
|
||||
auto& B = B_avg[solventSaturationIdx];
|
||||
B += 1 / intQuants.solventInverseFormationVolumeFactor().value();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user