mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
changed: EnableVtkOutput parameter moved to Opm::Parameters namespace
This commit is contained in:
parent
b3fae7f0f9
commit
6a03394d5b
@ -297,12 +297,6 @@ struct NewtonTolerance<TypeTag, TTag::FlowBaseProblem> {
|
||||
static constexpr type value = 1e-2;
|
||||
};
|
||||
|
||||
// Disable the VTK output by default for this problem ...
|
||||
template<class TypeTag>
|
||||
struct EnableVtkOutput<TypeTag, TTag::FlowBaseProblem> {
|
||||
static constexpr bool value = false;
|
||||
};
|
||||
|
||||
// ... but enable the ECL output by default
|
||||
template<class TypeTag>
|
||||
struct EnableEclOutput<TypeTag,TTag::FlowBaseProblem> {
|
||||
@ -524,6 +518,11 @@ template<class TypeTag>
|
||||
struct OutputDir<TypeTag, Properties::TTag::FlowBaseProblem>
|
||||
{ static constexpr auto value = "."; };
|
||||
|
||||
// Disable the VTK output by default for this problem ...
|
||||
template<class TypeTag>
|
||||
struct EnableVtkOutput<TypeTag, Properties::TTag::FlowBaseProblem>
|
||||
{ static constexpr bool value = false; };
|
||||
|
||||
} // namespace Opm::Parameters
|
||||
|
||||
#endif // OPM_FLOW_PROBLEM_PROPERTIES_HPP
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include <dune/common/fvector.hh>
|
||||
|
||||
#include <opm/models/blackoil/blackoilproperties.hh>
|
||||
#include <opm/models/discretization/common/fvbaseparameters.hh>
|
||||
#include <opm/models/io/baseoutputmodule.hh>
|
||||
#include <opm/models/io/vtkmultiwriter.hh>
|
||||
#include <opm/models/utils/parametersystem.hh>
|
||||
@ -126,7 +127,7 @@ namespace Opm {
|
||||
*/
|
||||
void processElement(const ElementContext& elemCtx)
|
||||
{
|
||||
if (!Parameters::get<TypeTag, Properties::EnableVtkOutput>())
|
||||
if (!Parameters::get<TypeTag, Parameters::EnableVtkOutput>())
|
||||
return;
|
||||
|
||||
if (eclTracerConcentrationOutput_()) {
|
||||
@ -172,9 +173,6 @@ namespace Opm {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
private:
|
||||
@ -184,10 +182,10 @@ namespace Opm {
|
||||
return val;
|
||||
}
|
||||
|
||||
|
||||
std::vector<ScalarBuffer> eclFreeTracerConcentration_;
|
||||
std::vector<ScalarBuffer> eclSolTracerConcentration_;
|
||||
};
|
||||
|
||||
} // namespace Opm
|
||||
|
||||
#endif // OPM_VTK_TRACER_MODULE_HPP
|
||||
|
Loading…
Reference in New Issue
Block a user