mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
rebasing thermaloutput
This commit is contained in:
@@ -44,7 +44,7 @@ namespace Opm
|
|||||||
public:
|
public:
|
||||||
typedef std::array< int, 3 > mapentry_t;
|
typedef std::array< int, 3 > mapentry_t;
|
||||||
typedef std::map< std::string, mapentry_t > WellMapType;
|
typedef std::map< std::string, mapentry_t > WellMapType;
|
||||||
|
|
||||||
/// Allocate and initialize if wells is non-null.
|
/// Allocate and initialize if wells is non-null.
|
||||||
/// Also tries to give useful initial values to the bhp() and
|
/// Also tries to give useful initial values to the bhp() and
|
||||||
/// wellRates() fields, depending on controls. The
|
/// wellRates() fields, depending on controls. The
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
|
|
||||||
#include <opm/simulators/wells/WellState.hpp>
|
#include <opm/simulators/wells/WellState.hpp>
|
||||||
#include <opm/core/props/BlackoilPhases.hpp>
|
#include <opm/core/props/BlackoilPhases.hpp>
|
||||||
#include <opm/material/fluidsystems/BlackOilFluidSystem.hpp>
|
|
||||||
|
|
||||||
#include <opm/parser/eclipse/EclipseState/Schedule/Schedule.hpp>
|
#include <opm/parser/eclipse/EclipseState/Schedule/Schedule.hpp>
|
||||||
#include <opm/parser/eclipse/EclipseState/Schedule/Well/Well.hpp>
|
#include <opm/parser/eclipse/EclipseState/Schedule/Well/Well.hpp>
|
||||||
@@ -85,7 +84,6 @@ namespace Opm
|
|||||||
const SummaryState& summary_state,
|
const SummaryState& summary_state,
|
||||||
const int globalNumberOfWells)
|
const int globalNumberOfWells)
|
||||||
{
|
{
|
||||||
//Todo: make it reservoir perforation rates
|
|
||||||
std::vector<double> perforationRates;
|
std::vector<double> perforationRates;
|
||||||
perforationRates = prevState->perfphaserates_;
|
perforationRates = prevState->perfphaserates_;
|
||||||
// call init on base class
|
// call init on base class
|
||||||
@@ -187,6 +185,7 @@ namespace Opm
|
|||||||
|
|
||||||
perfRateBrine_.clear();
|
perfRateBrine_.clear();
|
||||||
perfRateBrine_.resize(nperf, 0.0);
|
perfRateBrine_.resize(nperf, 0.0);
|
||||||
|
|
||||||
// intialize wells that have been there before
|
// intialize wells that have been there before
|
||||||
// order may change so the mapping is based on the well name
|
// order may change so the mapping is based on the well name
|
||||||
if (prevState && !prevState->wellMap().empty()) {
|
if (prevState && !prevState->wellMap().empty()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user