mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
Merge pull request #792 from akva2/fix_quadmath
Fix simulators using quad precision
This commit is contained in:
@@ -63,11 +63,6 @@ struct FlashSolver<TypeTag, TTag::Co2InjectionFlashEcfvProblem>
|
||||
#if HAVE_QUAD
|
||||
template<class TypeTag>
|
||||
struct Scalar<TypeTag, TTag::Co2InjectionFlashEcfvProblem> { using type = quad; };
|
||||
|
||||
// the default linear solver used for this problem (-> AMG) cannot be used with quadruple
|
||||
// precision scalars... (this seems to only apply to Dune >= 2.4)
|
||||
template<class TypeTag>
|
||||
struct LinearSolverSplice<TypeTag, TTag::Co2InjectionFlashEcfvProblem> { using type = TTag::ParallelBiCGStabLinearSolver; };
|
||||
#else
|
||||
template<class TypeTag>
|
||||
struct NewtonTolerance<TypeTag, TTag::Co2InjectionFlashEcfvProblem>
|
||||
|
||||
@@ -63,11 +63,6 @@ struct FlashSolver<TypeTag, TTag::Co2InjectionFlashNiEcfvProblem>
|
||||
#if HAVE_QUAD
|
||||
template<class TypeTag>
|
||||
struct Scalar<TypeTag, TTag::Co2InjectionFlashNiEcfvProblem> { using type = quad; };
|
||||
|
||||
// the default linear solver used for this problem (-> AMG) cannot be used with quadruple
|
||||
// precision scalars... (this seems to only apply to Dune >= 2.4)
|
||||
template<class TypeTag>
|
||||
struct LinearSolverSplice<TypeTag, TTag::Co2InjectionFlashNiEcfvProblem> { using type = TTag::ParallelBiCGStabLinearSolver; };
|
||||
#else
|
||||
template<class TypeTag>
|
||||
struct NewtonTolerance<TypeTag, TTag::Co2InjectionFlashNiEcfvProblem>
|
||||
|
||||
@@ -59,11 +59,6 @@ struct FlashSolver<TypeTag, TTag::Co2InjectionFlashNiVcfvProblem>
|
||||
#if HAVE_QUAD
|
||||
template<class TypeTag>
|
||||
struct Scalar<TypeTag, TTag::Co2InjectionFlashNiVcfvProblem> { using type = quad; };
|
||||
|
||||
// the default linear solver used for this problem (-> AMG) cannot be used with quadruple
|
||||
// precision scalars... (this seems to only apply to Dune >= 2.4)
|
||||
template<class TypeTag>
|
||||
struct LinearSolverSplice<TypeTag, TTag::Co2InjectionFlashNiVcfvProblem> { using type = TTag::ParallelBiCGStabLinearSolver; };
|
||||
#else
|
||||
template<class TypeTag>
|
||||
struct NewtonTolerance<TypeTag, TTag::Co2InjectionFlashNiVcfvProblem>
|
||||
|
||||
@@ -59,11 +59,6 @@ struct FlashSolver<TypeTag, TTag::Co2InjectionFlashVcfvProblem>
|
||||
#if HAVE_QUAD
|
||||
template<class TypeTag>
|
||||
struct Scalar<TypeTag, TTag::Co2InjectionFlashVcfvProblem> { using type = quad; };
|
||||
|
||||
// the default linear solver used for this problem (-> AMG) cannot be used with quadruple
|
||||
// precision scalars... (this seems to only apply to Dune >= 2.4)
|
||||
template<class TypeTag>
|
||||
struct LinearSolverSplice<TypeTag, TTag::Co2InjectionFlashVcfvProblem> { using type = TTag::ParallelBiCGStabLinearSolver; };
|
||||
#else
|
||||
template<class TypeTag>
|
||||
struct NewtonTolerance<TypeTag, TTag::Co2InjectionFlashVcfvProblem>
|
||||
|
||||
Reference in New Issue
Block a user