mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
changed: ContinueOnConvergenceError parameter moved to Opm::Parameters namespace
This commit is contained in:
parent
f95ec4daa1
commit
3e1c8baa35
@ -176,12 +176,6 @@ struct NewtonMaxIterations<TypeTag, TTag::FlowExpTypeTag> {
|
|||||||
static constexpr int value = 8;
|
static constexpr int value = 8;
|
||||||
};
|
};
|
||||||
|
|
||||||
// By default, flowexp accepts the result of the time integration unconditionally if the
|
|
||||||
// smallest time step size is reached.
|
|
||||||
template<class TypeTag>
|
|
||||||
struct ContinueOnConvergenceError<TypeTag, TTag::FlowExpTypeTag> {
|
|
||||||
static constexpr bool value = true;
|
|
||||||
};
|
|
||||||
template<class TypeTag>
|
template<class TypeTag>
|
||||||
struct LinearSolverBackend<TypeTag, TTag::FlowExpTypeTag> {
|
struct LinearSolverBackend<TypeTag, TTag::FlowExpTypeTag> {
|
||||||
using type = ISTLSolver<TypeTag>;
|
using type = ISTLSolver<TypeTag>;
|
||||||
@ -199,6 +193,12 @@ struct ThreadsPerProcess<TypeTag, Properties::TTag::FlowExpTypeTag>
|
|||||||
{ static constexpr int value = 2; };
|
{ static constexpr int value = 2; };
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// By default, flowexp accepts the result of the time integration unconditionally if the
|
||||||
|
// smallest time step size is reached.
|
||||||
|
template<class TypeTag>
|
||||||
|
struct ContinueOnConvergenceError<TypeTag, Properties::TTag::FlowExpTypeTag>
|
||||||
|
{ static constexpr bool value = true; };
|
||||||
|
|
||||||
} // namespace Opm::Parameters
|
} // namespace Opm::Parameters
|
||||||
|
|
||||||
namespace Opm {
|
namespace Opm {
|
||||||
|
@ -54,12 +54,6 @@ struct Problem<TypeTag, TTag::FlowExpProblemBlackOil>
|
|||||||
using type = FlowExpProblem<TypeTag>;
|
using type = FlowExpProblem<TypeTag>;
|
||||||
};
|
};
|
||||||
|
|
||||||
template<class TypeTag>
|
|
||||||
struct ContinueOnConvergenceError<TypeTag, TTag::FlowExpProblemBlackOil>
|
|
||||||
{
|
|
||||||
static constexpr bool value = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
template<class TypeTag>
|
template<class TypeTag>
|
||||||
struct EclNewtonSumTolerance<TypeTag, TTag::FlowExpProblemBlackOil>
|
struct EclNewtonSumTolerance<TypeTag, TTag::FlowExpProblemBlackOil>
|
||||||
{
|
{
|
||||||
@ -117,6 +111,10 @@ template<class TypeTag>
|
|||||||
struct ThreadsPerProcess<TypeTag, Properties::TTag::FlowExpProblemBlackOil>
|
struct ThreadsPerProcess<TypeTag, Properties::TTag::FlowExpProblemBlackOil>
|
||||||
{ static constexpr int value = 1; };
|
{ static constexpr int value = 1; };
|
||||||
|
|
||||||
|
template<class TypeTag>
|
||||||
|
struct ContinueOnConvergenceError<TypeTag, Properties::TTag::FlowExpProblemBlackOil>
|
||||||
|
{ static constexpr bool value = false; };
|
||||||
|
|
||||||
} // namespace Opm::Parameters
|
} // namespace Opm::Parameters
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
|
@ -126,13 +126,6 @@ struct NewtonMaxIterations<TypeTag, TTag::TestTypeTag> {
|
|||||||
static constexpr int value = 8;
|
static constexpr int value = 8;
|
||||||
};
|
};
|
||||||
|
|
||||||
// By default, ebos accepts the result of the time integration unconditionally if the
|
|
||||||
// smallest time step size is reached.
|
|
||||||
template<class TypeTag>
|
|
||||||
struct ContinueOnConvergenceError<TypeTag, TTag::TestTypeTag> {
|
|
||||||
static constexpr bool value = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // namespace Opm::Properties
|
} // namespace Opm::Properties
|
||||||
|
|
||||||
namespace Opm::Parameters {
|
namespace Opm::Parameters {
|
||||||
@ -145,6 +138,12 @@ struct ThreadsPerProcess<TypeTag, Properties::TTag::TestTypeTag>
|
|||||||
{ static constexpr int value = 2; };
|
{ static constexpr int value = 2; };
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// By default, ebos accepts the result of the time integration unconditionally if the
|
||||||
|
// smallest time step size is reached.
|
||||||
|
template<class TypeTag>
|
||||||
|
struct ContinueOnConvergenceError<TypeTag, Properties::TTag::TestTypeTag>
|
||||||
|
{ static constexpr bool value = true; };
|
||||||
|
|
||||||
} // namespace Opm::Parameters
|
} // namespace Opm::Parameters
|
||||||
|
|
||||||
#endif // OPM_TEST_TYPETAG_HPP
|
#endif // OPM_TEST_TYPETAG_HPP
|
||||||
|
Loading…
Reference in New Issue
Block a user