mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
BlackoilWellModel: move numLocalNonshutWells to generic class
This commit is contained in:
parent
aaa1006e2b
commit
e7738e70dc
@ -337,8 +337,6 @@ namespace Opm {
|
||||
return well_container_;
|
||||
}
|
||||
|
||||
int numLocalNonshutWells() const;
|
||||
|
||||
// prototype for assemble function for ASPIN solveLocal()
|
||||
// will try to merge back to assemble() when done prototyping
|
||||
void assembleDomain(const int iterationIdx,
|
||||
|
@ -1400,4 +1400,9 @@ int BlackoilWellModelGeneric::numLocalWellsEnd() const
|
||||
return w.size();
|
||||
}
|
||||
|
||||
int BlackoilWellModelGeneric::numLocalNonshutWells() const
|
||||
{
|
||||
return well_container_generic_.size();
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -87,6 +87,7 @@ public:
|
||||
|
||||
int numLocalWells() const;
|
||||
int numLocalWellsEnd() const;
|
||||
int numLocalNonshutWells() const;
|
||||
int numPhases() const;
|
||||
|
||||
/// return true if wells are available in the reservoir
|
||||
|
@ -1485,15 +1485,6 @@ namespace Opm {
|
||||
}
|
||||
|
||||
|
||||
template<typename TypeTag>
|
||||
int
|
||||
BlackoilWellModel<TypeTag>::
|
||||
numLocalNonshutWells() const
|
||||
{
|
||||
return well_container_.size();
|
||||
}
|
||||
|
||||
|
||||
template<typename TypeTag>
|
||||
void
|
||||
BlackoilWellModel<TypeTag>::
|
||||
|
Loading…
Reference in New Issue
Block a user