Commit d4335281 authored by Ivan Buntic's avatar Ivan Buntic Committed by Timo Koch
Browse files

[disc][freeflow][rans] Use discretization tag instead of enum as template argument.

parent b4fd449e
......@@ -31,7 +31,7 @@
namespace Dumux {
// forward declaration
template<class TypeTag, class BaseFluxVariables, DiscretizationMethod discMethod>
template<class TypeTag, class BaseFluxVariables, class DiscretizationMethod>
class OneEqFluxVariablesImpl;
/*!
......@@ -42,7 +42,7 @@ class OneEqFluxVariablesImpl;
* \note Not all specializations are currently implemented
*/
template<class TypeTag, class BaseFluxVariables>
using OneEqFluxVariables = OneEqFluxVariablesImpl<TypeTag, BaseFluxVariables, GetPropType<TypeTag, Properties::GridGeometry>::discMethod>;
using OneEqFluxVariables = OneEqFluxVariablesImpl<TypeTag, BaseFluxVariables, typename GetPropType<TypeTag, Properties::GridGeometry>::DiscretizationMethod>;
} // end namespace
......
......@@ -32,7 +32,7 @@
namespace Dumux {
// forward declaration
template<class TypeTag, class BaseLocalResidual, DiscretizationMethod discMethod>
template<class TypeTag, class BaseLocalResidual, class DiscretizationMethod>
class OneEqResidualImpl;
/*!
......@@ -43,7 +43,7 @@ class OneEqResidualImpl;
* \note Not all specializations are currently implemented
*/
template<class TypeTag, class BaseLocalResidual>
using OneEqResidual = OneEqResidualImpl<TypeTag, BaseLocalResidual, GetPropType<TypeTag, Properties::GridGeometry>::discMethod>;
using OneEqResidual = OneEqResidualImpl<TypeTag, BaseLocalResidual, typename GetPropType<TypeTag, Properties::GridGeometry>::DiscretizationMethod>;
} // end namespace Dumux
......
......@@ -41,11 +41,11 @@ namespace Dumux {
*/
// forward declaration
template<class TypeTag, class BaseFluxVariables, DiscretizationMethod discMethod>
template<class TypeTag, class BaseFluxVariables, class DiscretizationMethod>
class OneEqFluxVariablesImpl;
template<class TypeTag, class BaseFluxVariables>
class OneEqFluxVariablesImpl<TypeTag, BaseFluxVariables, DiscretizationMethod::staggered>
class OneEqFluxVariablesImpl<TypeTag, BaseFluxVariables, DiscretizationMethods::Staggered>
: public BaseFluxVariables
{
using ParentType = BaseFluxVariables;
......
......@@ -38,11 +38,11 @@ namespace Dumux {
*/
// forward declaration
template<class TypeTag, class BaseLocalResidual, DiscretizationMethod discMethod>
template<class TypeTag, class BaseLocalResidual, class DiscretizationMethod>
class OneEqResidualImpl;
template<class TypeTag, class BaseLocalResidual>
class OneEqResidualImpl<TypeTag, BaseLocalResidual, DiscretizationMethod::staggered>
class OneEqResidualImpl<TypeTag, BaseLocalResidual, DiscretizationMethods::Staggered>
: public BaseLocalResidual
{
using ParentType = BaseLocalResidual;
......
......@@ -30,7 +30,7 @@
namespace Dumux {
// forward declaration
template<class TypeTag, class BaseFluxVariables, DiscretizationMethod discMethod>
template<class TypeTag, class BaseFluxVariables, class DiscretizationMethod>
class KEpsilonFluxVariablesImpl;
/*!
......@@ -41,7 +41,7 @@ class KEpsilonFluxVariablesImpl;
* \note Not all specializations are currently implemented
*/
template<class TypeTag, class BaseFluxVariables>
using KEpsilonFluxVariables = KEpsilonFluxVariablesImpl<TypeTag, BaseFluxVariables, GetPropType<TypeTag, Properties::GridGeometry>::discMethod>;
using KEpsilonFluxVariables = KEpsilonFluxVariablesImpl<TypeTag, BaseFluxVariables, typename GetPropType<TypeTag, Properties::GridGeometry>::DiscretizationMethod>;
} // end namespace
......
......@@ -32,7 +32,7 @@
namespace Dumux {
// forward declaration
template<class TypeTag, class BaseLocalResidual, DiscretizationMethod discMethod>
template<class TypeTag, class BaseLocalResidual, class DiscretizationMethod>
class KEpsilonResidualImpl;
/*!
......@@ -43,7 +43,7 @@ class KEpsilonResidualImpl;
* \note Not all specializations are currently implemented
*/
template<class TypeTag, class BaseLocalResidual>
using KEpsilonResidual = KEpsilonResidualImpl<TypeTag, BaseLocalResidual, GetPropType<TypeTag, Properties::GridGeometry>::discMethod>;
using KEpsilonResidual = KEpsilonResidualImpl<TypeTag, BaseLocalResidual, typename GetPropType<TypeTag, Properties::GridGeometry>::DiscretizationMethod>;
}
......
......@@ -41,11 +41,11 @@ namespace Dumux {
*/
// forward declaration
template<class TypeTag, class BaseFluxVariables, DiscretizationMethod discMethod>
template<class TypeTag, class BaseFluxVariables, class DiscretizationMethod>
class KEpsilonFluxVariablesImpl;
template<class TypeTag, class BaseFluxVariables>
class KEpsilonFluxVariablesImpl<TypeTag, BaseFluxVariables, DiscretizationMethod::staggered>
class KEpsilonFluxVariablesImpl<TypeTag, BaseFluxVariables, DiscretizationMethods::Staggered>
: public BaseFluxVariables
{
using ParentType = BaseFluxVariables;
......
......@@ -37,11 +37,11 @@ namespace Dumux {
*/
// forward declaration
template<class TypeTag, class BaseLocalResidual, DiscretizationMethod discMethod>
template<class TypeTag, class BaseLocalResidual, class DiscretizationMethod>
class KEpsilonResidualImpl;
template<class TypeTag, class BaseLocalResidual>
class KEpsilonResidualImpl<TypeTag, BaseLocalResidual, DiscretizationMethod::staggered>
class KEpsilonResidualImpl<TypeTag, BaseLocalResidual, DiscretizationMethods::Staggered>
: public BaseLocalResidual
{
using ParentType = BaseLocalResidual;
......
......@@ -30,7 +30,7 @@
namespace Dumux {
// forward declaration
template<class TypeTag, class BaseFluxVariables, DiscretizationMethod discMethod>
template<class TypeTag, class BaseFluxVariables, class DiscretizationMethod>
class KOmegaFluxVariablesImpl;
/*!
......@@ -41,7 +41,7 @@ class KOmegaFluxVariablesImpl;
* \note Not all specializations are currently implemented
*/
template<class TypeTag, class BaseFluxVariables>
using KOmegaFluxVariables = KOmegaFluxVariablesImpl<TypeTag, BaseFluxVariables, GetPropType<TypeTag, Properties::GridGeometry>::discMethod>;
using KOmegaFluxVariables = KOmegaFluxVariablesImpl<TypeTag, BaseFluxVariables, typename GetPropType<TypeTag, Properties::GridGeometry>::DiscretizationMethod>;
} // end namespace
......
......@@ -32,7 +32,7 @@
namespace Dumux {
// forward declaration
template<class TypeTag, class BaseLocalResidual, DiscretizationMethod discMethod>
template<class TypeTag, class BaseLocalResidual, class DiscretizationMethod>
class KOmegaResidualImpl;
/*!
......@@ -43,7 +43,7 @@ class KOmegaResidualImpl;
* \note Not all specializations are currently implemented
*/
template<class TypeTag, class BaseLocalResidual>
using KOmegaResidual = KOmegaResidualImpl<TypeTag, BaseLocalResidual, GetPropType<TypeTag, Properties::GridGeometry>::discMethod>;
using KOmegaResidual = KOmegaResidualImpl<TypeTag, BaseLocalResidual, typename GetPropType<TypeTag, Properties::GridGeometry>::DiscretizationMethod>;
}
......
......@@ -40,11 +40,11 @@ namespace Dumux {
*/
// forward declaration
template<class TypeTag, class BaseFluxVariables, DiscretizationMethod discMethod>
template<class TypeTag, class BaseFluxVariables, class DiscretizationMethod>
class KOmegaFluxVariablesImpl;
template<class TypeTag, class BaseFluxVariables>
class KOmegaFluxVariablesImpl<TypeTag, BaseFluxVariables, DiscretizationMethod::staggered>
class KOmegaFluxVariablesImpl<TypeTag, BaseFluxVariables, DiscretizationMethods::Staggered>
: public BaseFluxVariables
{
using ParentType = BaseFluxVariables;
......
......@@ -37,11 +37,11 @@ namespace Dumux {
*/
// forward declaration
template<class TypeTag, class BaseLocalResidual, DiscretizationMethod discMethod>
template<class TypeTag, class BaseLocalResidual, class DiscretizationMethod>
class KOmegaResidualImpl;
template<class TypeTag, class BaseLocalResidual>
class KOmegaResidualImpl<TypeTag, BaseLocalResidual, DiscretizationMethod::staggered>
class KOmegaResidualImpl<TypeTag, BaseLocalResidual, DiscretizationMethods::Staggered>
: public BaseLocalResidual
{
using ParentType = BaseLocalResidual;
......
......@@ -30,7 +30,7 @@
namespace Dumux {
// forward declaration
template<class TypeTag, class BaseFluxVariables, DiscretizationMethod discMethod>
template<class TypeTag, class BaseFluxVariables, class DiscretizationMethod>
class LowReKEpsilonFluxVariablesImpl;
/*!
......@@ -41,7 +41,7 @@ class LowReKEpsilonFluxVariablesImpl;
* \note Not all specializations are currently implemented
*/
template<class TypeTag, class BaseFluxVariables>
using LowReKEpsilonFluxVariables = LowReKEpsilonFluxVariablesImpl<TypeTag, BaseFluxVariables, GetPropType<TypeTag, Properties::GridGeometry>::discMethod>;
using LowReKEpsilonFluxVariables = LowReKEpsilonFluxVariablesImpl<TypeTag, BaseFluxVariables, typename GetPropType<TypeTag, Properties::GridGeometry>::DiscretizationMethod>;
} // end namespace
......
......@@ -32,7 +32,7 @@
namespace Dumux {
// forward declaration
template<class TypeTag, class BaseLocalResidual, DiscretizationMethod discMethod>
template<class TypeTag, class BaseLocalResidual, class DiscretizationMethod>
class LowReKEpsilonResidualImpl;
/*!
......@@ -43,7 +43,7 @@ class LowReKEpsilonResidualImpl;
* \note Not all specializations are currently implemented
*/
template<class TypeTag, class BaseLocalResidual>
using LowReKEpsilonResidual = LowReKEpsilonResidualImpl<TypeTag, BaseLocalResidual, GetPropType<TypeTag, Properties::GridGeometry>::discMethod>;
using LowReKEpsilonResidual = LowReKEpsilonResidualImpl<TypeTag, BaseLocalResidual, typename GetPropType<TypeTag, Properties::GridGeometry>::DiscretizationMethod>;
}
......
......@@ -40,11 +40,11 @@ namespace Dumux {
*/
// forward declaration
template<class TypeTag, class BaseFluxVariables, DiscretizationMethod discMethod>
template<class TypeTag, class BaseFluxVariables, class DiscretizationMethod>
class LowReKEpsilonFluxVariablesImpl;
template<class TypeTag, class BaseFluxVariables>
class LowReKEpsilonFluxVariablesImpl<TypeTag, BaseFluxVariables, DiscretizationMethod::staggered>
class LowReKEpsilonFluxVariablesImpl<TypeTag, BaseFluxVariables, DiscretizationMethods::Staggered>
: public BaseFluxVariables
{
using ParentType = BaseFluxVariables;
......
......@@ -37,11 +37,11 @@ namespace Dumux {
*/
// forward declaration
template<class TypeTag, class BaseLocalResidual, DiscretizationMethod discMethod>
template<class TypeTag, class BaseLocalResidual, class DiscretizationMethod>
class LowReKEpsilonResidualImpl;
template<class TypeTag, class BaseLocalResidual>
class LowReKEpsilonResidualImpl<TypeTag, BaseLocalResidual, DiscretizationMethod::staggered>
class LowReKEpsilonResidualImpl<TypeTag, BaseLocalResidual, DiscretizationMethods::Staggered>
: public BaseLocalResidual
{
using ParentType = BaseLocalResidual;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment