mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Initial version for outputting cell data
This commit is contained in:
@@ -268,6 +268,17 @@ namespace Opm {
|
||||
computeFluidInPlace(const ReservoirState& x,
|
||||
const std::vector<int>& fipnum);
|
||||
|
||||
const ADB& getReciprocalFormationVolumeFactor(PhaseUsage::PhaseIndex phase) const {
|
||||
const Opm::PhaseUsage& pu = fluid_.phaseUsage();
|
||||
if (pu.phase_used[phase]) {
|
||||
const int pos = pu.phase_pos[phase];
|
||||
return rq_[pos].b;
|
||||
}
|
||||
else {
|
||||
return ADB::null();
|
||||
}
|
||||
}
|
||||
|
||||
protected:
|
||||
|
||||
// --------- Types and enums ---------
|
||||
|
||||
Reference in New Issue
Block a user