change the name of computeSegmentDensitiesAndCompVolumeDt

to computeSegmentFluidProperties to include calculation of more fluid mixture in the segments.
This commit is contained in:
Kai Bao 2015-10-16 13:02:48 +02:00
parent 8bde14d7ce
commit 3b3ac203d9
2 changed files with 4 additions and 4 deletions

View File

@ -279,7 +279,7 @@ namespace Opm {
// Calculate the density of the mixture in the segments
// And the surface volume of the components in the segments by dt
void
computeSegmentDensitiesAndCompVolumeDt(const SolutionState& state);
computeSegmentFluidProperties(const SolutionState& state);
void
computeSegmentPressuresDelta(const SolutionState& state);

View File

@ -509,7 +509,7 @@ namespace Opm {
// Compute initial accumulation contributions
// and well connection pressures.
asImpl().computeAccum(state0, 0);
asImpl().computeSegmentDensitiesAndCompVolumeDt(state0);
asImpl().computeSegmentFluidProperties(state0);
const int np = numPhases();
assert(np == int(segment_comp_surf_volume_initial_.size()));
for (int phase = 0; phase < np; ++phase) {
@ -536,7 +536,7 @@ namespace Opm {
return;
}
asImpl().computeSegmentDensitiesAndCompVolumeDt(state);
asImpl().computeSegmentFluidProperties(state);
asImpl().computeSegmentPressuresDelta(state);
std::vector<ADB> mob_perfcells;
@ -1667,7 +1667,7 @@ namespace Opm {
template <class Grid>
void
BlackoilMultiSegmentModel<Grid>::computeSegmentDensitiesAndCompVolumeDt(const SolutionState& state)
BlackoilMultiSegmentModel<Grid>::computeSegmentFluidProperties(const SolutionState& state)
{
const int nw = wellsMultiSegment().size();
const int nseg_total = state.segp.size();