mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-11 17:01:55 -06:00
Merge pull request #4349 from akva2/runspec_improvements
Small Runspec improvements
This commit is contained in:
commit
63c6b102d4
@ -31,7 +31,7 @@
|
||||
#include <opm/grid/polyhedralgrid.hh>
|
||||
#include <opm/models/discretization/ecfv/ecfvstencil.hh>
|
||||
#include <opm/input/eclipse/EclipseState/EclipseState.hpp>
|
||||
#include <opm/input/eclipse/EclipseState/Runspec.hpp>
|
||||
#include <opm/input/eclipse/EclipseState/Phase.hpp>
|
||||
#include <opm/input/eclipse/EclipseState/Tables/TracerVdTable.hpp>
|
||||
|
||||
#include <dune/istl/operators.hh>
|
||||
|
@ -28,6 +28,7 @@
|
||||
#include <opm/common/OpmLog/OpmLog.hpp>
|
||||
|
||||
#include <cassert>
|
||||
#include <cstddef>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
@ -37,10 +38,6 @@
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include <opm/input/eclipse/EclipseState/Runspec.hpp>
|
||||
|
||||
#include <opm/input/eclipse/Schedule/Schedule.hpp>
|
||||
#include <opm/input/eclipse/Schedule/Well/WellTestState.hpp>
|
||||
#include <opm/input/eclipse/Schedule/Group/GuideRate.hpp>
|
||||
@ -343,9 +340,9 @@ namespace Opm {
|
||||
|
||||
|
||||
const ModelParameters param_;
|
||||
size_t global_num_cells_{};
|
||||
std::size_t global_num_cells_{};
|
||||
// the number of the cells in the local grid
|
||||
size_t local_num_cells_{};
|
||||
std::size_t local_num_cells_{};
|
||||
double gravity_{};
|
||||
std::vector<double> depth_{};
|
||||
bool alternative_well_rate_init_{};
|
||||
|
@ -132,7 +132,7 @@ namespace Opm {
|
||||
const auto& connectionSet = well.getConnections();
|
||||
wellCells.reserve(connectionSet.size());
|
||||
|
||||
for ( size_t c=0; c < connectionSet.size(); c++ )
|
||||
for (std::size_t c = 0; c < connectionSet.size(); c++)
|
||||
{
|
||||
const auto& connection = connectionSet.get(c);
|
||||
int compressed_idx = compressedIndexForInterior(connection.global_index());
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
#include <opm/core/props/BlackoilPhases.hpp>
|
||||
#include <opm/input/eclipse/Schedule/Group/Group.hpp>
|
||||
#include <opm/input/eclipse/EclipseState/Runspec.hpp>
|
||||
#include <opm/input/eclipse/EclipseState/Phase.hpp>
|
||||
#include <opm/input/eclipse/Schedule/Group/GPMaint.hpp>
|
||||
#include <opm/simulators/wells/WellContainer.hpp>
|
||||
|
||||
|
@ -25,8 +25,6 @@
|
||||
#include <opm/simulators/wells/WellInterface.hpp>
|
||||
#include <opm/simulators/wells/MultisegmentWellEval.hpp>
|
||||
|
||||
#include <opm/input/eclipse/EclipseState/Runspec.hpp>
|
||||
|
||||
namespace Opm
|
||||
{
|
||||
class DeferredLogger;
|
||||
|
@ -39,7 +39,6 @@
|
||||
#include <opm/models/blackoil/blackoilmicpmodules.hh>
|
||||
|
||||
#include <opm/material/densead/Evaluation.hpp>
|
||||
#include <opm/input/eclipse/EclipseState/Runspec.hpp>
|
||||
#include <opm/input/eclipse/Schedule/ScheduleTypes.hpp>
|
||||
|
||||
#include <opm/simulators/wells/StandardWellEval.hpp>
|
||||
@ -61,7 +60,7 @@ namespace Opm
|
||||
{
|
||||
|
||||
public:
|
||||
typedef WellInterface<TypeTag> Base;
|
||||
using Base = WellInterface<TypeTag>;
|
||||
using StdWellEval = StandardWellEval<GetPropType<TypeTag, Properties::FluidSystem>,
|
||||
GetPropType<TypeTag, Properties::Indices>,
|
||||
GetPropType<TypeTag, Properties::Scalar>>;
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include <config.h>
|
||||
#include <opm/simulators/wells/WellGroupControls.hpp>
|
||||
|
||||
#include <opm/input/eclipse/EclipseState/Runspec.hpp>
|
||||
#include <opm/input/eclipse/EclipseState/Phase.hpp>
|
||||
#include <opm/input/eclipse/Schedule/Schedule.hpp>
|
||||
#include <opm/input/eclipse/Schedule/Group/Group.hpp>
|
||||
#include <opm/input/eclipse/Schedule/ScheduleTypes.hpp>
|
||||
|
Loading…
Reference in New Issue
Block a user