Renamed SegmentedWellModel->WellDensitySegmented.

This commit is contained in:
Atgeirr Flø Rasmussen
2014-01-24 15:54:01 +01:00
parent 2f7697e00d
commit f9ea03fe67
4 changed files with 20 additions and 20 deletions

View File

@@ -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;

View File

@@ -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