mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Renamed SegmentedWellModel->WellDensitySegmented.
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
along with OPM. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <opm/autodiff/SegmentedWellModel.hpp>
|
||||
#include <opm/autodiff/WellDensitySegmented.hpp>
|
||||
#include <opm/core/wells.h>
|
||||
#include <opm/core/simulator/WellState.hpp>
|
||||
#include <opm/core/utility/ErrorMacros.hpp>
|
||||
@@ -26,15 +26,15 @@
|
||||
#include <cmath>
|
||||
|
||||
|
||||
std::vector<double> Opm::SegmentedWellModel::computeConnectionPressureDelta(const Wells& wells,
|
||||
const WellState& wstate,
|
||||
const PhaseUsage& phase_usage,
|
||||
const std::vector<double>& b_perf,
|
||||
const std::vector<double>& rsmax_perf,
|
||||
const std::vector<double>& rvmax_perf,
|
||||
const std::vector<double>& z_perf,
|
||||
const std::vector<double>& surf_dens,
|
||||
const double gravity)
|
||||
std::vector<double> Opm::WellDensitySegmented::computeConnectionPressureDelta(const Wells& wells,
|
||||
const WellState& wstate,
|
||||
const PhaseUsage& phase_usage,
|
||||
const std::vector<double>& b_perf,
|
||||
const std::vector<double>& rsmax_perf,
|
||||
const std::vector<double>& rvmax_perf,
|
||||
const std::vector<double>& z_perf,
|
||||
const std::vector<double>& surf_dens,
|
||||
const double gravity)
|
||||
{
|
||||
// Verify that we have consistent input.
|
||||
const int np = wells.number_of_phases;
|
||||
@@ -17,8 +17,8 @@
|
||||
along with OPM. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef OPM_SEGMENTEDWELLMODEL_HEADER_INCLUDED
|
||||
#define OPM_SEGMENTEDWELLMODEL_HEADER_INCLUDED
|
||||
#ifndef OPM_WELLDENSITYSEGMENTED_HEADER_INCLUDED
|
||||
#define OPM_WELLDENSITYSEGMENTED_HEADER_INCLUDED
|
||||
|
||||
#include <vector>
|
||||
|
||||
@@ -36,7 +36,7 @@ namespace Opm
|
||||
/// pressure. This class contains an explicit model, that uses a
|
||||
/// different density for each well segment, that is between each
|
||||
/// pair of perforations.
|
||||
class SegmentedWellModel
|
||||
class WellDensitySegmented
|
||||
{
|
||||
public:
|
||||
/// Compute pressure deltas.
|
||||
@@ -63,4 +63,4 @@ namespace Opm
|
||||
|
||||
} // namespace Opm
|
||||
|
||||
#endif // OPM_SEGMENTEDWELLMODEL_HEADER_INCLUDED
|
||||
#endif // OPM_WELLDENSITYSEGMENTED_HEADER_INCLUDED
|
||||
Reference in New Issue
Block a user