mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
GasLiftSingleWell: drop indent for namespace
This commit is contained in:
@@ -31,43 +31,44 @@
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
|
||||
namespace Opm
|
||||
namespace Opm {
|
||||
|
||||
template<class TypeTag>
|
||||
class GasLiftSingleWell : public GasLiftSingleWellGeneric<GetPropType<TypeTag, Properties::Scalar>>
|
||||
{
|
||||
template<class TypeTag>
|
||||
class GasLiftSingleWell : public GasLiftSingleWellGeneric<GetPropType<TypeTag, Properties::Scalar>>
|
||||
{
|
||||
using Scalar = GetPropType<TypeTag, Properties::Scalar>;
|
||||
using Simulator = GetPropType<TypeTag, Properties::Simulator>;
|
||||
using GLiftSyncGroups = typename GasLiftSingleWellGeneric<Scalar>::GLiftSyncGroups;
|
||||
using BasicRates = typename GasLiftSingleWellGeneric<Scalar>::BasicRates;
|
||||
|
||||
public:
|
||||
GasLiftSingleWell(
|
||||
const WellInterface<TypeTag> &well,
|
||||
public:
|
||||
GasLiftSingleWell(const WellInterface<TypeTag>& well,
|
||||
const Simulator& simulator,
|
||||
const SummaryState &summary_state,
|
||||
DeferredLogger &deferred_logger,
|
||||
const SummaryState& summary_state,
|
||||
DeferredLogger& deferred_logger,
|
||||
WellState<Scalar>& well_state,
|
||||
const GroupState<Scalar>& group_state,
|
||||
GasLiftGroupInfo<Scalar>& group_info,
|
||||
GLiftSyncGroups &sync_groups,
|
||||
GLiftSyncGroups& sync_groups,
|
||||
const Parallel::Communication& comm,
|
||||
bool glift_debug
|
||||
);
|
||||
const WellInterfaceGeneric &getWell() const override { return well_; }
|
||||
bool glift_debug);
|
||||
|
||||
private:
|
||||
std::optional<double> computeBhpAtThpLimit_(double alq, bool debug_ouput=true) const override;
|
||||
BasicRates computeWellRates_(
|
||||
double bhp, bool bhp_is_limited, bool debug_output=true) const override;
|
||||
const WellInterfaceGeneric& getWell() const override { return well_; }
|
||||
|
||||
private:
|
||||
std::optional<double>
|
||||
computeBhpAtThpLimit_(double alq, bool debug_ouput=true) const override;
|
||||
|
||||
BasicRates computeWellRates_(double bhp, bool bhp_is_limited,
|
||||
bool debug_output = true) const override;
|
||||
void setAlqMaxRate_(const GasLiftWell& well);
|
||||
void setupPhaseVariables_();
|
||||
bool checkThpControl_() const override;
|
||||
|
||||
|
||||
const Simulator& simulator_;
|
||||
const WellInterface<TypeTag> &well_;
|
||||
};
|
||||
const WellInterface<TypeTag>& well_;
|
||||
};
|
||||
|
||||
} // namespace Opm
|
||||
|
||||
|
||||
Reference in New Issue
Block a user