mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
OutputDir moved to TypeTag-free parameter system
This commit is contained in:
parent
e5bedd3b47
commit
18a18a64c7
@ -150,10 +150,6 @@ template<class TypeTag>
|
|||||||
struct EnableDebuggingChecks<TypeTag, Properties::TTag::FlowProblem>
|
struct EnableDebuggingChecks<TypeTag, Properties::TTag::FlowProblem>
|
||||||
{ static constexpr bool value = false; };
|
{ static constexpr bool value = false; };
|
||||||
|
|
||||||
template<class TypeTag>
|
|
||||||
struct OutputDir<TypeTag, Properties::TTag::FlowProblem>
|
|
||||||
{ static constexpr auto value = ""; };
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace Opm {
|
namespace Opm {
|
||||||
|
@ -551,7 +551,7 @@ protected:
|
|||||||
{
|
{
|
||||||
asImp_().createGrids_();
|
asImp_().createGrids_();
|
||||||
asImp_().filterConnections_();
|
asImp_().filterConnections_();
|
||||||
std::string outputDir = Parameters::get<TypeTag, Parameters::OutputDir>();
|
std::string outputDir = Parameters::Get<Parameters::OutputDir>();
|
||||||
bool enableEclCompatFile = !Parameters::get<TypeTag, Parameters::EnableOpmRstFile>();
|
bool enableEclCompatFile = !Parameters::get<TypeTag, Parameters::EnableOpmRstFile>();
|
||||||
asImp_().updateOutputDir_(outputDir, enableEclCompatFile);
|
asImp_().updateOutputDir_(outputDir, enableEclCompatFile);
|
||||||
const std::string& dryRunString = Parameters::get<TypeTag, Parameters::EnableDryRun>();
|
const std::string& dryRunString = Parameters::get<TypeTag, Parameters::EnableDryRun>();
|
||||||
|
@ -427,11 +427,6 @@ template<class TypeTag>
|
|||||||
struct NumPressurePointsEquil<TypeTag, Properties::TTag::FlowBaseProblem>
|
struct NumPressurePointsEquil<TypeTag, Properties::TTag::FlowBaseProblem>
|
||||||
{ static constexpr int value = ParserKeywords::EQLDIMS::DEPTH_NODES_P::defaultValue; };
|
{ static constexpr int value = ParserKeywords::EQLDIMS::DEPTH_NODES_P::defaultValue; };
|
||||||
|
|
||||||
// The default location for the ECL output files
|
|
||||||
template<class TypeTag>
|
|
||||||
struct OutputDir<TypeTag, Properties::TTag::FlowBaseProblem>
|
|
||||||
{ static constexpr auto value = "."; };
|
|
||||||
|
|
||||||
template<class TypeTag>
|
template<class TypeTag>
|
||||||
struct OutputMode<TypeTag, Properties::TTag::FlowBaseProblem>
|
struct OutputMode<TypeTag, Properties::TTag::FlowBaseProblem>
|
||||||
{ static constexpr auto value = "all"; };
|
{ static constexpr auto value = "all"; };
|
||||||
|
@ -338,7 +338,7 @@ private:
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
deckFilename = Parameters::get<PreTypeTag, Parameters::EclDeckFileName>();
|
deckFilename = Parameters::get<PreTypeTag, Parameters::EclDeckFileName>();
|
||||||
outputDir = Parameters::get<PreTypeTag, Parameters::OutputDir>();
|
outputDir = Parameters::Get<Parameters::OutputDir>();
|
||||||
}
|
}
|
||||||
|
|
||||||
#if HAVE_DAMARIS
|
#if HAVE_DAMARIS
|
||||||
|
Loading…
Reference in New Issue
Block a user