mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
rename TTag::EclFlowPolymerProblem to TTag::FlowPolymerProblem
This commit is contained in:
parent
41341a9753
commit
372c584c06
@ -26,12 +26,12 @@
|
|||||||
namespace Opm {
|
namespace Opm {
|
||||||
namespace Properties {
|
namespace Properties {
|
||||||
namespace TTag {
|
namespace TTag {
|
||||||
struct EclFlowPolymerProblem {
|
struct FlowPolymerProblem {
|
||||||
using InheritsFrom = std::tuple<FlowProblem>;
|
using InheritsFrom = std::tuple<FlowProblem>;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
template<class TypeTag>
|
template<class TypeTag>
|
||||||
struct EnablePolymer<TypeTag, TTag::EclFlowPolymerProblem> {
|
struct EnablePolymer<TypeTag, TTag::FlowPolymerProblem> {
|
||||||
static constexpr bool value = true;
|
static constexpr bool value = true;
|
||||||
};
|
};
|
||||||
}}
|
}}
|
||||||
@ -45,14 +45,14 @@ int flowEbosPolymerMain(int argc, char** argv, bool outputCout, bool outputFiles
|
|||||||
// with incorrect locale settings.
|
// with incorrect locale settings.
|
||||||
resetLocale();
|
resetLocale();
|
||||||
|
|
||||||
FlowMain<Properties::TTag::EclFlowPolymerProblem>
|
FlowMain<Properties::TTag::FlowPolymerProblem>
|
||||||
mainfunc {argc, argv, outputCout, outputFiles};
|
mainfunc {argc, argv, outputCout, outputFiles};
|
||||||
return mainfunc.execute();
|
return mainfunc.execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
int flowEbosPolymerMainStandalone(int argc, char** argv)
|
int flowEbosPolymerMainStandalone(int argc, char** argv)
|
||||||
{
|
{
|
||||||
using TypeTag = Properties::TTag::EclFlowPolymerProblem;
|
using TypeTag = Properties::TTag::FlowPolymerProblem;
|
||||||
auto mainObject = std::make_unique<Opm::Main>(argc, argv);
|
auto mainObject = std::make_unique<Opm::Main>(argc, argv);
|
||||||
auto ret = mainObject->runStatic<TypeTag>();
|
auto ret = mainObject->runStatic<TypeTag>();
|
||||||
// Destruct mainObject as the destructor calls MPI_Finalize!
|
// Destruct mainObject as the destructor calls MPI_Finalize!
|
||||||
|
Loading…
Reference in New Issue
Block a user