mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
EclActionHandler: fix indent
This commit is contained in:
@@ -49,47 +49,47 @@ class UDQState;
|
|||||||
class EclActionHandler
|
class EclActionHandler
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
//! \brief Function handle to update transmissiblities.
|
//! \brief Function handle to update transmissiblities.
|
||||||
using TransFunc = std::function<void(bool)>;
|
using TransFunc = std::function<void(bool)>;
|
||||||
|
|
||||||
EclActionHandler(EclipseState& ecl_state,
|
EclActionHandler(EclipseState& ecl_state,
|
||||||
Schedule& schedule,
|
Schedule& schedule,
|
||||||
Action::State& actionState,
|
Action::State& actionState,
|
||||||
SummaryState& summaryState,
|
SummaryState& summaryState,
|
||||||
BlackoilWellModelGeneric& wellModel,
|
BlackoilWellModelGeneric& wellModel,
|
||||||
Parallel::Communication comm);
|
Parallel::Communication comm);
|
||||||
|
|
||||||
void applyActions(int reportStep,
|
void applyActions(int reportStep,
|
||||||
double sim_time,
|
double sim_time,
|
||||||
const TransFunc& updateTrans);
|
const TransFunc& updateTrans);
|
||||||
|
|
||||||
//! \brief Evaluates UDQ assign statements.
|
//! \brief Evaluates UDQ assign statements.
|
||||||
void evalUDQAssignments(const unsigned episodeIdx,
|
void evalUDQAssignments(const unsigned episodeIdx,
|
||||||
UDQState& udq_state);
|
UDQState& udq_state);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
/*
|
/*
|
||||||
This function is run after applyAction has been completed in the Schedule
|
This function is run after applyAction has been completed in the Schedule
|
||||||
implementation. The sim_update argument should have members & flags for
|
implementation. The sim_update argument should have members & flags for
|
||||||
the simulator properties which need to be updated. This functionality is
|
the simulator properties which need to be updated. This functionality is
|
||||||
probably not complete.
|
probably not complete.
|
||||||
*/
|
*/
|
||||||
void applySimulatorUpdate(int report_step,
|
void applySimulatorUpdate(int report_step,
|
||||||
const SimulatorUpdate& sim_update,
|
const SimulatorUpdate& sim_update,
|
||||||
bool& commit_wellstate,
|
bool& commit_wellstate,
|
||||||
const TransFunc& updateTrans);
|
const TransFunc& updateTrans);
|
||||||
|
|
||||||
std::unordered_map<std::string, double>
|
std::unordered_map<std::string, double>
|
||||||
fetchWellPI(int reportStep,
|
fetchWellPI(int reportStep,
|
||||||
const Action::ActionX& action,
|
const Action::ActionX& action,
|
||||||
const std::vector<std::string>& matching_wells);
|
const std::vector<std::string>& matching_wells);
|
||||||
|
|
||||||
EclipseState& ecl_state_;
|
EclipseState& ecl_state_;
|
||||||
Schedule& schedule_;
|
Schedule& schedule_;
|
||||||
Action::State& actionState_;
|
Action::State& actionState_;
|
||||||
SummaryState& summaryState_;
|
SummaryState& summaryState_;
|
||||||
BlackoilWellModelGeneric& wellModel_;
|
BlackoilWellModelGeneric& wellModel_;
|
||||||
Parallel::Communication comm_;
|
Parallel::Communication comm_;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Opm
|
} // namespace Opm
|
||||||
|
|||||||
Reference in New Issue
Block a user