mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
changed: introduce EclGenericVanguard::setParams
this is used transferring ownership of setup structures to the simulator. drop all the flowEbosXXX set deck methods and use the generic vanguard. also means various structs that were only passed in the blackoil simulator are now passed in all simulators.
This commit is contained in:
@@ -24,27 +24,6 @@
|
||||
|
||||
namespace Opm {
|
||||
|
||||
void flowEbosBlackoilSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::unique_ptr<UDQState> udqState,
|
||||
std::unique_ptr<Action::State> actionState,
|
||||
std::unique_ptr<WellTestState> wtestState,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig)
|
||||
{
|
||||
using TypeTag = Properties::TTag::EclFlowProblem;
|
||||
using Vanguard = GetPropType<TypeTag, Properties::Vanguard>;
|
||||
|
||||
Vanguard::setSetupTime(setupTime);
|
||||
Vanguard::setDeck(std::move(deck));
|
||||
Vanguard::setEclState(std::move(eclState));
|
||||
Vanguard::setSchedule(std::move(schedule));
|
||||
Vanguard::setExternalUDQState(std::move(udqState));
|
||||
Vanguard::setExternalActionState(std::move(actionState));
|
||||
Vanguard::setExternalWTestState(std::move(wtestState));
|
||||
Vanguard::setSummaryConfig(std::move(summaryConfig));
|
||||
}
|
||||
|
||||
std::unique_ptr<FlowMainEbos<Properties::TTag::EclFlowProblem>>
|
||||
flowEbosBlackoilMainInit(int argc, char** argv, bool outputCout, bool outputFiles)
|
||||
{
|
||||
|
||||
@@ -21,26 +21,13 @@
|
||||
|
||||
namespace Opm {
|
||||
|
||||
class Deck;
|
||||
class EclipseState;
|
||||
template<class TypeTag> class FlowMainEbos;
|
||||
class Schedule;
|
||||
class SummaryConfig;
|
||||
class UDQState;
|
||||
class WellTestState;
|
||||
|
||||
namespace Action {
|
||||
class State;
|
||||
}
|
||||
namespace Properties { namespace TTag { struct EclFlowProblem; } }
|
||||
|
||||
void flowEbosBlackoilSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::unique_ptr<UDQState> udqState,
|
||||
std::unique_ptr<Action::State> actionState,
|
||||
std::unique_ptr<WellTestState> wtestState,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig);
|
||||
|
||||
//! \brief Main function used in flow binary.
|
||||
int flowEbosBlackoilMain(int argc, char** argv, bool outputCout, bool outputFiles);
|
||||
|
||||
|
||||
@@ -37,21 +37,6 @@ struct EnableBrine<TypeTag, TTag::EclFlowBrineProblem> {
|
||||
}}
|
||||
|
||||
namespace Opm {
|
||||
void flowEbosBrineSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig)
|
||||
{
|
||||
using TypeTag = Properties::TTag::EclFlowBrineProblem;
|
||||
using Vanguard = GetPropType<TypeTag, Properties::Vanguard>;
|
||||
|
||||
Vanguard::setSetupTime(setupTime);
|
||||
Vanguard::setDeck(std::move(deck));
|
||||
Vanguard::setEclState(std::move(eclState));
|
||||
Vanguard::setSchedule(std::move(schedule));
|
||||
Vanguard::setSummaryConfig(std::move(summaryConfig));
|
||||
}
|
||||
|
||||
|
||||
// ----------------- Main program -----------------
|
||||
int flowEbosBrineMain(int argc, char** argv, bool outputCout, bool outputFiles)
|
||||
|
||||
@@ -17,20 +17,8 @@
|
||||
#ifndef FLOW_EBOS_BRINE_HPP
|
||||
#define FLOW_EBOS_BRINE_HPP
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace Opm {
|
||||
|
||||
class Deck;
|
||||
class EclipseState;
|
||||
class Schedule;
|
||||
class SummaryConfig;
|
||||
|
||||
void flowEbosBrineSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig);
|
||||
|
||||
//! \brief Main function used in flow binary.
|
||||
int flowEbosBrineMain(int argc, char** argv, bool outputCout, bool outputFiles);
|
||||
|
||||
|
||||
@@ -47,21 +47,6 @@ struct EnableEvaporation<TypeTag, TTag::EclFlowBrinePrecsaltVapwatProblem> {
|
||||
}}
|
||||
|
||||
namespace Opm {
|
||||
void flowEbosBrinePrecsaltVapwatSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig)
|
||||
{
|
||||
using TypeTag = Properties::TTag::EclFlowBrinePrecsaltVapwatProblem;
|
||||
using Vanguard = GetPropType<TypeTag, Properties::Vanguard>;
|
||||
|
||||
Vanguard::setSetupTime(setupTime);
|
||||
Vanguard::setDeck(std::move(deck));
|
||||
Vanguard::setEclState(std::move(eclState));
|
||||
Vanguard::setSchedule(std::move(schedule));
|
||||
Vanguard::setSummaryConfig(std::move(summaryConfig));
|
||||
}
|
||||
|
||||
|
||||
// ----------------- Main program -----------------
|
||||
int flowEbosBrinePrecsaltVapwatMain(int argc, char** argv, bool outputCout, bool outputFiles)
|
||||
|
||||
@@ -17,20 +17,8 @@
|
||||
#ifndef FLOW_EBOS_BRINE_PRECSALT_VAPWAT_HPP
|
||||
#define FLOW_EBOS_BRINE_PRECSALT_VAPWAT_HPP
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace Opm {
|
||||
|
||||
class Deck;
|
||||
class EclipseState;
|
||||
class Schedule;
|
||||
class SummaryConfig;
|
||||
|
||||
void flowEbosBrinePrecsaltVapwatSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig);
|
||||
|
||||
//! \brief Main function used in flow binary.
|
||||
int flowEbosBrinePrecsaltVapwatMain(int argc, char** argv, bool outputCout, bool outputFiles);
|
||||
|
||||
|
||||
@@ -42,21 +42,6 @@ struct EnableSaltPrecipitation<TypeTag, TTag::EclFlowBrineSaltPrecipitationProbl
|
||||
}}
|
||||
|
||||
namespace Opm {
|
||||
void flowEbosBrineSaltPrecipitationSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig)
|
||||
{
|
||||
using TypeTag = Properties::TTag::EclFlowBrineSaltPrecipitationProblem;
|
||||
using Vanguard = GetPropType<TypeTag, Properties::Vanguard>;
|
||||
|
||||
Vanguard::setSetupTime(setupTime);
|
||||
Vanguard::setDeck(std::move(deck));
|
||||
Vanguard::setEclState(std::move(eclState));
|
||||
Vanguard::setSchedule(std::move(schedule));
|
||||
Vanguard::setSummaryConfig(std::move(summaryConfig));
|
||||
}
|
||||
|
||||
|
||||
// ----------------- Main program -----------------
|
||||
int flowEbosBrineSaltPrecipitationMain(int argc, char** argv, bool outputCout, bool outputFiles)
|
||||
|
||||
@@ -21,16 +21,6 @@
|
||||
|
||||
namespace Opm {
|
||||
|
||||
class Deck;
|
||||
class EclipseState;
|
||||
class Schedule;
|
||||
class SummaryConfig;
|
||||
|
||||
void flowEbosBrineSaltPrecipitationSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig);
|
||||
|
||||
//! \brief Main function used in flow binary.
|
||||
int flowEbosBrineSaltPrecipitationMain(int argc, char** argv, bool outputCout, bool outputFiles);
|
||||
|
||||
|
||||
@@ -37,20 +37,6 @@ struct EnableEnergy<TypeTag, TTag::EclFlowEnergyProblem> {
|
||||
}}
|
||||
|
||||
namespace Opm {
|
||||
void flowEbosEnergySetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig)
|
||||
{
|
||||
using TypeTag = Properties::TTag::EclFlowEnergyProblem;
|
||||
using Vanguard = GetPropType<TypeTag, Properties::Vanguard>;
|
||||
|
||||
Vanguard::setSetupTime(setupTime);
|
||||
Vanguard::setDeck(std::move(deck));
|
||||
Vanguard::setEclState(std::move(eclState));
|
||||
Vanguard::setSchedule(std::move(schedule));
|
||||
Vanguard::setSummaryConfig(std::move(summaryConfig));
|
||||
}
|
||||
|
||||
// ----------------- Main program -----------------
|
||||
int flowEbosEnergyMain(int argc, char** argv, bool outputCout, bool outputFiles)
|
||||
|
||||
@@ -17,20 +17,8 @@
|
||||
#ifndef FLOW_EBOS_ENERGY_HPP
|
||||
#define FLOW_EBOS_ENERGY_HPP
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace Opm {
|
||||
|
||||
class Deck;
|
||||
class EclipseState;
|
||||
class Schedule;
|
||||
class SummaryConfig;
|
||||
|
||||
void flowEbosEnergySetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig);
|
||||
|
||||
//! \brief Main function used in flow binary.
|
||||
int flowEbosEnergyMain(int argc, char** argv, bool outputCout, bool outputFiles);
|
||||
|
||||
|
||||
@@ -37,20 +37,6 @@ struct EnableExtbo<TypeTag, TTag::EclFlowExtboProblem> {
|
||||
}}
|
||||
|
||||
namespace Opm {
|
||||
void flowEbosExtboSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig)
|
||||
{
|
||||
using TypeTag = Properties::TTag::EclFlowExtboProblem;
|
||||
using Vanguard = GetPropType<TypeTag, Properties::Vanguard>;
|
||||
|
||||
Vanguard::setSetupTime(setupTime);
|
||||
Vanguard::setDeck(std::move(deck));
|
||||
Vanguard::setEclState(std::move(eclState));
|
||||
Vanguard::setSchedule(std::move(schedule));
|
||||
Vanguard::setSummaryConfig(std::move(summaryConfig));
|
||||
}
|
||||
|
||||
// ----------------- Main program -----------------
|
||||
int flowEbosExtboMain(int argc, char** argv, bool outputCout, bool outputFiles)
|
||||
|
||||
@@ -17,20 +17,8 @@
|
||||
#ifndef FLOW_EBOS_EXTBO_HPP
|
||||
#define FLOW_EBOS_EXTBO_HPP
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace Opm {
|
||||
|
||||
class Deck;
|
||||
class EclipseState;
|
||||
class Schedule;
|
||||
class SummaryConfig;
|
||||
|
||||
void flowEbosExtboSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig);
|
||||
|
||||
//! \brief Main function used in flow binary.
|
||||
int flowEbosExtboMain(int argc, char** argv, bool outputCout, bool outputFiles);
|
||||
|
||||
|
||||
@@ -37,21 +37,6 @@ struct EnableFoam<TypeTag, TTag::EclFlowFoamProblem> {
|
||||
}}
|
||||
|
||||
namespace Opm {
|
||||
void flowEbosFoamSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig)
|
||||
{
|
||||
using TypeTag = Properties::TTag::EclFlowFoamProblem;
|
||||
using Vanguard = GetPropType<TypeTag, Properties::Vanguard>;
|
||||
|
||||
Vanguard::setSetupTime(setupTime);
|
||||
Vanguard::setDeck(std::move(deck));
|
||||
Vanguard::setEclState(std::move(eclState));
|
||||
Vanguard::setSchedule(std::move(schedule));
|
||||
Vanguard::setSummaryConfig(std::move(summaryConfig));
|
||||
}
|
||||
|
||||
|
||||
// ----------------- Main program -----------------
|
||||
int flowEbosFoamMain(int argc, char** argv, bool outputCout, bool outputFiles)
|
||||
|
||||
@@ -17,20 +17,8 @@
|
||||
#ifndef FLOW_EBOS_FOAM_HPP
|
||||
#define FLOW_EBOS_FOAM_HPP
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace Opm {
|
||||
|
||||
class Deck;
|
||||
class EclipseState;
|
||||
class Schedule;
|
||||
class SummaryConfig;
|
||||
|
||||
void flowEbosFoamSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig);
|
||||
|
||||
//! \brief Main function used in flow binary.
|
||||
int flowEbosFoamMain(int argc, char** argv, bool outputCout, bool outputFiles);
|
||||
|
||||
|
||||
@@ -58,21 +58,6 @@ public:
|
||||
}}
|
||||
|
||||
namespace Opm {
|
||||
void flowEbosGasOilSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig)
|
||||
{
|
||||
using TypeTag = Properties::TTag::EclFlowGasOilProblem;
|
||||
using Vanguard = GetPropType<TypeTag, Properties::Vanguard>;
|
||||
|
||||
Vanguard::setSetupTime(setupTime);
|
||||
Vanguard::setDeck(std::move(deck));
|
||||
Vanguard::setEclState(std::move(eclState));
|
||||
Vanguard::setSchedule(std::move(schedule));
|
||||
Vanguard::setSummaryConfig(std::move(summaryConfig));
|
||||
}
|
||||
|
||||
|
||||
// ----------------- Main program -----------------
|
||||
int flowEbosGasOilMain(int argc, char** argv, bool outputCout, bool outputFiles)
|
||||
|
||||
@@ -17,20 +17,8 @@
|
||||
#ifndef FLOW_EBOS_GASOIL_HPP
|
||||
#define FLOW_EBOS_GASOIL_HPP
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace Opm {
|
||||
|
||||
class Deck;
|
||||
class EclipseState;
|
||||
class Schedule;
|
||||
class SummaryConfig;
|
||||
|
||||
void flowEbosGasOilSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig);
|
||||
|
||||
//! \brief Main function used in flow binary.
|
||||
int flowEbosGasOilMain(int argc, char** argv, bool outputCout, bool outputFiles);
|
||||
|
||||
|
||||
@@ -62,21 +62,6 @@ struct EnableEnergy<TypeTag, TTag::EclFlowGasOilEnergyProblem> {
|
||||
}}
|
||||
|
||||
namespace Opm {
|
||||
void flowEbosGasOilEnergySetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig)
|
||||
{
|
||||
using TypeTag = Properties::TTag::EclFlowGasOilEnergyProblem;
|
||||
using Vanguard = GetPropType<TypeTag, Properties::Vanguard>;
|
||||
|
||||
Vanguard::setSetupTime(setupTime);
|
||||
Vanguard::setDeck(std::move(deck));
|
||||
Vanguard::setEclState(std::move(eclState));
|
||||
Vanguard::setSchedule(std::move(schedule));
|
||||
Vanguard::setSummaryConfig(std::move(summaryConfig));
|
||||
}
|
||||
|
||||
|
||||
// ----------------- Main program -----------------
|
||||
int flowEbosGasOilEnergyMain(int argc, char** argv, bool outputCout, bool outputFiles)
|
||||
|
||||
@@ -17,20 +17,8 @@
|
||||
#ifndef FLOW_EBOS_GASOIL_ENERGY_HPP
|
||||
#define FLOW_EBOS_GASOIL_ENERGY_HPP
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace Opm {
|
||||
|
||||
class Deck;
|
||||
class EclipseState;
|
||||
class Schedule;
|
||||
class SummaryConfig;
|
||||
|
||||
void flowEbosGasOilEnergySetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig);
|
||||
|
||||
//! \brief Main function used in flow binary.
|
||||
int flowEbosGasOilEnergyMain(int argc, char** argv, bool outputCout, bool outputFiles);
|
||||
|
||||
|
||||
@@ -61,20 +61,6 @@ public:
|
||||
}}
|
||||
|
||||
namespace Opm {
|
||||
void flowEbosGasWaterSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig)
|
||||
{
|
||||
using TypeTag = Properties::TTag::EclFlowGasWaterProblem;
|
||||
using Vanguard = GetPropType<TypeTag, Properties::Vanguard>;
|
||||
|
||||
Vanguard::setSetupTime(setupTime);
|
||||
Vanguard::setDeck(std::move(deck));
|
||||
Vanguard::setEclState(std::move(eclState));
|
||||
Vanguard::setSchedule(std::move(schedule));
|
||||
Vanguard::setSummaryConfig(std::move(summaryConfig));
|
||||
}
|
||||
|
||||
|
||||
// ----------------- Main program -----------------
|
||||
|
||||
@@ -17,20 +17,8 @@
|
||||
#ifndef FLOW_EBOS_GASWATER_HPP
|
||||
#define FLOW_EBOS_GASWATER_HPP
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace Opm {
|
||||
|
||||
class Deck;
|
||||
class EclipseState;
|
||||
class Schedule;
|
||||
class SummaryConfig;
|
||||
|
||||
void flowEbosGasWaterSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig);
|
||||
|
||||
//! \brief Main function used in flow binary.
|
||||
int flowEbosGasWaterMain(int argc, char** argv, bool outputCout, bool outputFiles);
|
||||
|
||||
|
||||
@@ -61,20 +61,6 @@ public:
|
||||
}}
|
||||
|
||||
namespace Opm {
|
||||
void flowEbosGasWaterBrineSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig)
|
||||
{
|
||||
using TypeTag = Properties::TTag::EclFlowGasWaterBrineProblem;
|
||||
using Vanguard = GetPropType<TypeTag, Properties::Vanguard>;
|
||||
|
||||
Vanguard::setSetupTime(setupTime);
|
||||
Vanguard::setDeck(std::move(deck));
|
||||
Vanguard::setEclState(std::move(eclState));
|
||||
Vanguard::setSchedule(std::move(schedule));
|
||||
Vanguard::setSummaryConfig(std::move(summaryConfig));
|
||||
}
|
||||
|
||||
// ----------------- Main program -----------------
|
||||
int flowEbosGasWaterBrineMain(int argc, char** argv, bool outputCout, bool outputFiles)
|
||||
|
||||
@@ -17,20 +17,8 @@
|
||||
#ifndef FLOW_EBOS_GASWATER_BRINE_HPP
|
||||
#define FLOW_EBOS_GASWATER_BRINE_HPP
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace Opm {
|
||||
|
||||
class Deck;
|
||||
class EclipseState;
|
||||
class Schedule;
|
||||
class SummaryConfig;
|
||||
|
||||
void flowEbosGasWaterBrineSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig);
|
||||
|
||||
//! \brief Main function used in flow binary.
|
||||
int flowEbosGasWaterBrineMain(int argc, char** argv, bool outputCout, bool outputFiles);
|
||||
|
||||
|
||||
@@ -72,20 +72,6 @@ public:
|
||||
}}
|
||||
|
||||
namespace Opm {
|
||||
void flowEbosGasWaterSaltprecVapwatSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig)
|
||||
{
|
||||
using TypeTag = Properties::TTag::EclFlowGasWaterSaltprecVapwatProblem;
|
||||
using Vanguard = GetPropType<TypeTag, Properties::Vanguard>;
|
||||
|
||||
Vanguard::setSetupTime(setupTime);
|
||||
Vanguard::setDeck(std::move(deck));
|
||||
Vanguard::setEclState(std::move(eclState));
|
||||
Vanguard::setSchedule(std::move(schedule));
|
||||
Vanguard::setSummaryConfig(std::move(summaryConfig));
|
||||
}
|
||||
|
||||
// ----------------- Main program -----------------
|
||||
int flowEbosGasWaterSaltprecVapwatMain(int argc, char** argv, bool outputCout, bool outputFiles)
|
||||
|
||||
@@ -17,20 +17,8 @@
|
||||
#ifndef FLOW_EBOS_GASWATERSALTPRECVAPWAT_BRINE_HPP
|
||||
#define FLOW_EBOS_GASWATERSALTPRECVAPWAT_BRINE_HPP
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace Opm {
|
||||
|
||||
class Deck;
|
||||
class EclipseState;
|
||||
class Schedule;
|
||||
class SummaryConfig;
|
||||
|
||||
void flowEbosGasWaterSaltprecVapwatSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig);
|
||||
|
||||
//! \brief Main function used in flow binary.
|
||||
int flowEbosGasWaterSaltprecVapwatMain(int argc, char** argv, bool outputCout, bool outputFiles);
|
||||
|
||||
|
||||
@@ -61,20 +61,6 @@ public:
|
||||
}}
|
||||
|
||||
namespace Opm {
|
||||
void flowEbosMICPSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig)
|
||||
{
|
||||
using TypeTag = Properties::TTag::EclFlowMICPProblem;
|
||||
using Vanguard = GetPropType<TypeTag, Properties::Vanguard>;
|
||||
|
||||
Vanguard::setSetupTime(setupTime);
|
||||
Vanguard::setDeck(std::move(deck));
|
||||
Vanguard::setEclState(std::move(eclState));
|
||||
Vanguard::setSchedule(std::move(schedule));
|
||||
Vanguard::setSummaryConfig(std::move(summaryConfig));
|
||||
}
|
||||
|
||||
// ----------------- Main program -----------------
|
||||
int flowEbosMICPMain(int argc, char** argv, bool outputCout, bool outputFiles)
|
||||
|
||||
@@ -17,20 +17,8 @@
|
||||
#ifndef FLOW_EBOS_MICP_HPP
|
||||
#define FLOW_EBOS_MICP_HPP
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace Opm {
|
||||
|
||||
class Deck;
|
||||
class EclipseState;
|
||||
class Schedule;
|
||||
class SummaryConfig;
|
||||
|
||||
void flowEbosMICPSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig);
|
||||
|
||||
//! \brief Main function used in flow binary.
|
||||
int flowEbosMICPMain(int argc, char** argv, bool outputCout, bool outputFiles);
|
||||
|
||||
|
||||
@@ -58,20 +58,6 @@ public:
|
||||
}}
|
||||
|
||||
namespace Opm {
|
||||
void flowEbosOilWaterSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig)
|
||||
{
|
||||
using TypeTag = Properties::TTag::EclFlowOilWaterProblem;
|
||||
using Vanguard = GetPropType<TypeTag, Properties::Vanguard>;
|
||||
|
||||
Vanguard::setSetupTime(setupTime);
|
||||
Vanguard::setDeck(std::move(deck));
|
||||
Vanguard::setEclState(std::move(eclState));
|
||||
Vanguard::setSchedule(std::move(schedule));
|
||||
Vanguard::setSummaryConfig(std::move(summaryConfig));
|
||||
}
|
||||
|
||||
// ----------------- Main program -----------------
|
||||
int flowEbosOilWaterMain(int argc, char** argv, bool outputCout, bool outputFiles)
|
||||
|
||||
@@ -17,20 +17,8 @@
|
||||
#ifndef FLOW_EBOS_OILWATER_HPP
|
||||
#define FLOW_EBOS_OILWATER_HPP
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace Opm {
|
||||
|
||||
class Deck;
|
||||
class EclipseState;
|
||||
class Schedule;
|
||||
class SummaryConfig;
|
||||
|
||||
void flowEbosOilWaterSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig);
|
||||
|
||||
//! \brief Main functon used in main flow binary.
|
||||
int flowEbosOilWaterMain(int argc, char** argv, bool outputCout, bool outputFiles);
|
||||
|
||||
|
||||
@@ -61,20 +61,6 @@ public:
|
||||
}}
|
||||
|
||||
namespace Opm {
|
||||
void flowEbosOilWaterBrineSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig)
|
||||
{
|
||||
using TypeTag = Properties::TTag::EclFlowOilWaterBrineProblem;
|
||||
using Vanguard = GetPropType<TypeTag, Properties::Vanguard>;
|
||||
|
||||
Vanguard::setSetupTime(setupTime);
|
||||
Vanguard::setDeck(std::move(deck));
|
||||
Vanguard::setEclState(std::move(eclState));
|
||||
Vanguard::setSchedule(std::move(schedule));
|
||||
Vanguard::setSummaryConfig(std::move(summaryConfig));
|
||||
}
|
||||
|
||||
// ----------------- Main program -----------------
|
||||
int flowEbosOilWaterBrineMain(int argc, char** argv, bool outputCout, bool outputFiles)
|
||||
|
||||
@@ -17,20 +17,8 @@
|
||||
#ifndef FLOW_EBOS_OILWATER_BRINE_HPP
|
||||
#define FLOW_EBOS_OILWATER_BRINE_HPP
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace Opm {
|
||||
|
||||
class Deck;
|
||||
class EclipseState;
|
||||
class Schedule;
|
||||
class SummaryConfig;
|
||||
|
||||
void flowEbosOilWaterBrineSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig);
|
||||
|
||||
//! \brief Main function used in flow binary.
|
||||
int flowEbosOilWaterBrineMain(int argc, char** argv, bool outputCout, bool outputFiles);
|
||||
|
||||
|
||||
@@ -61,20 +61,6 @@ public:
|
||||
}}
|
||||
|
||||
namespace Opm {
|
||||
void flowEbosOilWaterPolymerSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig)
|
||||
{
|
||||
using TypeTag = Properties::TTag::EclFlowOilWaterPolymerProblem;
|
||||
using Vanguard = GetPropType<TypeTag, Properties::Vanguard>;
|
||||
|
||||
Vanguard::setSetupTime(setupTime);
|
||||
Vanguard::setDeck(std::move(deck));
|
||||
Vanguard::setEclState(std::move(eclState));
|
||||
Vanguard::setSchedule(std::move(schedule));
|
||||
Vanguard::setSummaryConfig(std::move(summaryConfig));
|
||||
}
|
||||
|
||||
// ----------------- Main program -----------------
|
||||
int flowEbosOilWaterPolymerMain(int argc, char** argv, bool outputCout, bool outputFiles)
|
||||
|
||||
@@ -17,20 +17,8 @@
|
||||
#ifndef FLOW_EBOS_OILWATER_POLYMER_HPP
|
||||
#define FLOW_EBOS_OILWATER_POLYMER_HPP
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace Opm {
|
||||
|
||||
class Deck;
|
||||
class EclipseState;
|
||||
class Schedule;
|
||||
class SummaryConfig;
|
||||
|
||||
void flowEbosOilWaterPolymerSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig);
|
||||
|
||||
//! \brief Main functon used in main flow binary.
|
||||
int flowEbosOilWaterPolymerMain(int argc, char** argv, bool outputCout, bool outputFiles);
|
||||
|
||||
|
||||
@@ -57,21 +57,6 @@ public:
|
||||
|
||||
} // namespace Opm::Properties
|
||||
|
||||
void flowEbosWaterOnlySetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig)
|
||||
{
|
||||
using TypeTag = Properties::TTag::EclFlowProblemWaterOnly;
|
||||
using Vanguard = GetPropType<TypeTag, Properties::Vanguard>;
|
||||
|
||||
Vanguard::setSetupTime(setupTime);
|
||||
Vanguard::setDeck(std::move(deck));
|
||||
Vanguard::setEclState(std::move(eclState));
|
||||
Vanguard::setSchedule(std::move(schedule));
|
||||
Vanguard::setSummaryConfig(std::move(summaryConfig));
|
||||
}
|
||||
|
||||
// ----------------- Main program -----------------
|
||||
int flowEbosWaterOnlyMain(int argc, char** argv, bool outputCout, bool outputFiles)
|
||||
{
|
||||
|
||||
@@ -22,26 +22,12 @@
|
||||
#ifndef FLOW_ONEPHASE_HPP
|
||||
#define FLOW_ONEPHASE_HPP
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace Opm {
|
||||
|
||||
class Deck;
|
||||
class EclipseState;
|
||||
template<class TypeTag> class FlowMainEbos;
|
||||
class Schedule;
|
||||
class SummaryConfig;
|
||||
class UDQState;
|
||||
class WellTestState;
|
||||
namespace Action {
|
||||
class State;
|
||||
}
|
||||
|
||||
void flowEbosWaterOnlySetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig);
|
||||
//! \brief Main functon used in main flow binary.
|
||||
int flowEbosWaterOnlyMain(int argc, char** argv, bool outputCout, bool outputFiles);
|
||||
|
||||
//! \brief Main function used in flow_onephase binary.
|
||||
int flowEbosWaterOnlyMainStandalone(int argc, char** argv);
|
||||
}
|
||||
|
||||
|
||||
@@ -64,21 +64,6 @@ public:
|
||||
|
||||
} // namespace Opm::Properties
|
||||
|
||||
void flowEbosWaterOnlyEnergySetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig)
|
||||
{
|
||||
using TypeTag = Properties::TTag::EclFlowProblemWaterOnlyEnergy;
|
||||
using Vanguard = GetPropType<TypeTag, Properties::Vanguard>;
|
||||
|
||||
Vanguard::setSetupTime(setupTime);
|
||||
Vanguard::setDeck(std::move(deck));
|
||||
Vanguard::setEclState(std::move(eclState));
|
||||
Vanguard::setSchedule(std::move(schedule));
|
||||
Vanguard::setSummaryConfig(std::move(summaryConfig));
|
||||
}
|
||||
|
||||
// ----------------- Main program -----------------
|
||||
int flowEbosWaterOnlyEnergyMain(int argc, char** argv, bool outputCout, bool outputFiles)
|
||||
{
|
||||
|
||||
@@ -22,27 +22,14 @@
|
||||
#ifndef FLOW_ONEPHASE_ENERGY_HPP
|
||||
#define FLOW_ONEPHASE_ENERGY_HPP
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace Opm {
|
||||
|
||||
class Deck;
|
||||
class EclipseState;
|
||||
template<class TypeTag> class FlowMainEbos;
|
||||
class Schedule;
|
||||
class SummaryConfig;
|
||||
class UDQState;
|
||||
class WellTestState;
|
||||
namespace Action {
|
||||
class State;
|
||||
}
|
||||
|
||||
void flowEbosWaterOnlyEnergySetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig);
|
||||
//! \brief Main functon used in main flow binary.
|
||||
int flowEbosWaterOnlyEnergyMain(int argc, char** argv, bool outputCout, bool outputFiles);
|
||||
|
||||
//! \brief Main function used in flow_onephase_energy binary.
|
||||
int flowEbosWaterOnlyEnergyMainStandalone(int argc, char** argv);
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -37,20 +37,6 @@ struct EnablePolymer<TypeTag, TTag::EclFlowPolymerProblem> {
|
||||
}}
|
||||
|
||||
namespace Opm {
|
||||
void flowEbosPolymerSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig)
|
||||
{
|
||||
using TypeTag = Properties::TTag::EclFlowPolymerProblem;
|
||||
using Vanguard = GetPropType<TypeTag, Properties::Vanguard>;
|
||||
|
||||
Vanguard::setSetupTime(setupTime);
|
||||
Vanguard::setDeck(std::move(deck));
|
||||
Vanguard::setEclState(std::move(eclState));
|
||||
Vanguard::setSchedule(std::move(schedule));
|
||||
Vanguard::setSummaryConfig(std::move(summaryConfig));
|
||||
}
|
||||
|
||||
// ----------------- Main program -----------------
|
||||
int flowEbosPolymerMain(int argc, char** argv, bool outputCout, bool outputFiles)
|
||||
|
||||
@@ -17,20 +17,8 @@
|
||||
#ifndef FLOW_EBOS_POLYMER_HPP
|
||||
#define FLOW_EBOS_POLYMER_HPP
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace Opm {
|
||||
|
||||
class Deck;
|
||||
class EclipseState;
|
||||
class Schedule;
|
||||
class SummaryConfig;
|
||||
|
||||
void flowEbosPolymerSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig);
|
||||
|
||||
//! \brief Main function used in flow binary.
|
||||
int flowEbosPolymerMain(int argc, char** argv, bool outputCout, bool outputFiles);
|
||||
|
||||
|
||||
@@ -37,21 +37,6 @@ struct EnableSolvent<TypeTag, TTag::EclFlowSolventProblem> {
|
||||
}}
|
||||
|
||||
namespace Opm {
|
||||
void flowEbosSolventSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig)
|
||||
{
|
||||
using TypeTag = Properties::TTag::EclFlowSolventProblem;
|
||||
using Vanguard = GetPropType<TypeTag, Properties::Vanguard>;
|
||||
|
||||
Vanguard::setSetupTime(setupTime);
|
||||
Vanguard::setDeck(std::move(deck));
|
||||
Vanguard::setEclState(std::move(eclState));
|
||||
Vanguard::setSchedule(std::move(schedule));
|
||||
Vanguard::setSummaryConfig(std::move(summaryConfig));
|
||||
}
|
||||
|
||||
|
||||
// ----------------- Main program -----------------
|
||||
int flowEbosSolventMain(int argc, char** argv, bool outputCout, bool outputFiles)
|
||||
|
||||
@@ -17,20 +17,8 @@
|
||||
#ifndef FLOW_EBOS_SOLVENT_HPP
|
||||
#define FLOW_EBOS_SOLVENT_HPP
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace Opm {
|
||||
|
||||
class Deck;
|
||||
class EclipseState;
|
||||
class Schedule;
|
||||
class SummaryConfig;
|
||||
|
||||
void flowEbosSolventSetDeck(double setupTime, std::shared_ptr<Deck> deck,
|
||||
std::shared_ptr<EclipseState> eclState,
|
||||
std::shared_ptr<Schedule> schedule,
|
||||
std::shared_ptr<SummaryConfig> summaryConfig);
|
||||
|
||||
//! \brief Main function used in flow binary.
|
||||
int flowEbosSolventMain(int argc, char** argv, bool outoutCout, bool outputFiles);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user