Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
47d80ebe
Commit
47d80ebe
authored
Feb 22, 2018
by
Timo Koch
Browse files
[discretziation][doc] Use discMethod for all DiscretizationMethod template argument names
parent
9630f879
Changes
26
Hide whitespace changes
Inline
Side-by-side
dumux/discretization/box/fourierslawnonequilibrium.hh
View file @
47d80ebe
...
...
@@ -34,7 +34,7 @@
namespace
Dumux
{
// forward declaration
template
<
class
TypeTag
,
DiscretizationMethod
DM
>
template
<
class
TypeTag
,
DiscretizationMethod
discMethod
>
class
FouriersLawNonEquilibriumImplementation
;
/*!
...
...
dumux/discretization/box/maxwellstefanslaw.hh
View file @
47d80ebe
...
...
@@ -35,7 +35,7 @@
namespace
Dumux
{
// forward declaration
template
<
class
TypeTag
,
DiscretizationMethod
DM
>
template
<
class
TypeTag
,
DiscretizationMethod
discMethod
>
class
MaxwellStefansLawImplementation
;
/*!
...
...
dumux/discretization/cellcentered/mpfa/tensorlambdafactory.hh
View file @
47d80ebe
...
...
@@ -50,7 +50,7 @@ namespace Dumux
* The interfaces of the lambdas are chosen such that all involved tensors can be extracted
* with the given arguments.
*/
template
<
class
TypeTag
,
DiscretizationMethod
Method
>
template
<
class
TypeTag
,
DiscretizationMethod
disc
Method
>
class
TensorLambdaFactory
{
public:
...
...
dumux/discretization/cellcentered/tpfa/maxwellstefanslaw.hh
View file @
47d80ebe
...
...
@@ -35,7 +35,7 @@
namespace
Dumux
{
// forward declaration
template
<
class
TypeTag
,
DiscretizationMethod
DM
>
template
<
class
TypeTag
,
DiscretizationMethod
discMethod
>
class
MaxwellStefansLawImplementation
;
/*!
...
...
dumux/discretization/darcyslaw.hh
View file @
47d80ebe
...
...
@@ -33,7 +33,7 @@
namespace
Dumux
{
// forward declaration
template
<
class
TypeTag
,
DiscretizationMethod
Method
>
template
<
class
TypeTag
,
DiscretizationMethod
disc
Method
>
class
DarcysLawImplementation
{};
...
...
dumux/discretization/fickslaw.hh
View file @
47d80ebe
...
...
@@ -32,7 +32,7 @@
namespace
Dumux
{
// forward declaration
template
<
class
TypeTag
,
DiscretizationMethod
Method
>
template
<
class
TypeTag
,
DiscretizationMethod
disc
Method
>
class
FicksLawImplementation
;
/*!
...
...
dumux/discretization/fluxstencil.hh
View file @
47d80ebe
...
...
@@ -41,7 +41,7 @@ namespace Dumux
* since we use the flux stencil for matrix and assembly. This might lead to some zeros stored
* in the matrix.
*/
template
<
class
FVElementGeometry
,
DiscretizationMethod
Method
=
FVElementGeometry
::
FVGridGeometry
::
discretizationMethod
>
template
<
class
FVElementGeometry
,
DiscretizationMethod
disc
Method
=
FVElementGeometry
::
FVGridGeometry
::
discretizationMethod
>
class
FluxStencil
;
/*
...
...
dumux/discretization/fourierslaw.hh
View file @
47d80ebe
...
...
@@ -32,7 +32,7 @@
namespace
Dumux
{
// forward declaration
template
<
class
TypeTag
,
DiscretizationMethod
Method
>
template
<
class
TypeTag
,
DiscretizationMethod
disc
Method
>
class
FouriersLawImplementation
{};
...
...
dumux/discretization/fourierslawnonequilibrium.hh
View file @
47d80ebe
...
...
@@ -30,7 +30,7 @@
namespace
Dumux
{
// forward declaration
template
<
class
TypeTag
,
DiscretizationMethod
Method
>
template
<
class
TypeTag
,
DiscretizationMethod
disc
Method
>
class
FouriersLawNonEquilibriumImplementation
{};
...
...
dumux/discretization/maxwellstefanslaw.hh
View file @
47d80ebe
...
...
@@ -30,7 +30,7 @@
namespace
Dumux
{
// forward declaration
template
<
class
TypeTag
,
DiscretizationMethod
Method
>
template
<
class
TypeTag
,
DiscretizationMethod
disc
Method
>
class
MaxwellStefansLawImplementation
{};
...
...
dumux/discretization/staggered/freeflow/maxwellstefanslaw.hh
View file @
47d80ebe
...
...
@@ -35,7 +35,7 @@
namespace
Dumux
{
// forward declaration
template
<
class
TypeTag
,
DiscretizationMethod
DM
>
template
<
class
TypeTag
,
DiscretizationMethod
discMethod
>
class
MaxwellStefansLawImplementation
;
/*!
...
...
dumux/discretization/upwindscheme.hh
View file @
47d80ebe
...
...
@@ -32,7 +32,7 @@ namespace Dumux
{
//! Forward declaration of the upwind scheme implementation
template
<
class
TypeTag
,
DiscretizationMethod
Method
>
template
<
class
TypeTag
,
DiscretizationMethod
disc
Method
>
class
UpwindSchemeImplementation
;
/*!
...
...
dumux/freeflow/navierstokes/fluxvariables.hh
View file @
47d80ebe
...
...
@@ -32,7 +32,7 @@ namespace Dumux
{
// forward declaration
template
<
class
TypeTag
,
DiscretizationMethod
Method
>
template
<
class
TypeTag
,
DiscretizationMethod
disc
Method
>
class
NavierStokesFluxVariablesImpl
;
/*!
...
...
dumux/freeflow/navierstokes/fluxvariablescache.hh
View file @
47d80ebe
...
...
@@ -30,7 +30,7 @@
namespace
Dumux
{
// forward declaration
template
<
class
TypeTag
,
DiscretizationMethod
Method
>
template
<
class
TypeTag
,
DiscretizationMethod
disc
Method
>
class
FreeFlowFluxVariablesCacheImplementation
{};
...
...
dumux/freeflow/navierstokes/localresidual.hh
View file @
47d80ebe
...
...
@@ -32,7 +32,7 @@ namespace Dumux
{
// forward declaration
template
<
class
TypeTag
,
DiscretizationMethod
Method
>
template
<
class
TypeTag
,
DiscretizationMethod
disc
Method
>
class
NavierStokesResidualImpl
;
/*!
...
...
dumux/freeflow/navierstokes/problem.hh
View file @
47d80ebe
...
...
@@ -34,7 +34,7 @@ namespace Dumux
//! The implementation is specialized for the different discretizations
template
<
class
TypeTag
,
DiscretizationMethod
DM
>
struct
NavierStokesParentProblemImpl
;
template
<
class
TypeTag
,
DiscretizationMethod
discMethod
>
struct
NavierStokesParentProblemImpl
;
template
<
class
TypeTag
>
struct
NavierStokesParentProblemImpl
<
TypeTag
,
DiscretizationMethod
::
staggered
>
...
...
dumux/freeflow/navierstokes/staggered/fluxvariables.hh
View file @
47d80ebe
...
...
@@ -32,7 +32,7 @@ namespace Dumux
{
// forward declaration
template
<
class
TypeTag
,
DiscretizationMethod
Method
>
template
<
class
TypeTag
,
DiscretizationMethod
disc
Method
>
class
NavierStokesFluxVariablesImpl
;
...
...
dumux/freeflow/navierstokes/staggered/localresidual.hh
View file @
47d80ebe
...
...
@@ -33,7 +33,7 @@ namespace Dumux
{
// forward declaration
template
<
class
TypeTag
,
DiscretizationMethod
Method
>
template
<
class
TypeTag
,
DiscretizationMethod
disc
Method
>
class
NavierStokesResidualImpl
;
/*!
...
...
dumux/freeflow/navierstokes/vtkoutputfields.hh
View file @
47d80ebe
...
...
@@ -50,8 +50,8 @@ class NavierStokesVtkOutputFields
using
GlobalPosition
=
Dune
::
FieldVector
<
Scalar
,
GridView
::
dimensionworld
>
;
// Helper type used for tag dispatching (to add discretization-specific fields).
template
<
DiscretizationMethod
m
ethod
>
using
MethodT
ype
=
std
::
integral_constant
<
DiscretizationMethod
,
m
ethod
>
;
template
<
DiscretizationMethod
discM
ethod
>
using
disc
MethodT
ag
=
std
::
integral_constant
<
DiscretizationMethod
,
discM
ethod
>
;
public:
//! Initialize the Navier-Stokes specific vtk output fields.
...
...
@@ -61,8 +61,7 @@ public:
vtk
.
addVolumeVariable
([](
const
VolumeVariables
&
v
){
return
v
.
pressure
();
},
"p"
);
// add discretization-specific fields
const
auto
discType
=
MethodType
<
GET_PROP_VALUE
(
TypeTag
,
DiscretizationMethod
)
>
();
additionalOutput_
(
vtk
,
discType
);
additionalOutput_
(
vtk
,
discMethodTag
<
GET_PROP_VALUE
(
TypeTag
,
DiscretizationMethod
)
>
{});
}
private:
...
...
@@ -74,7 +73,7 @@ private:
//! Adds discretization-specific fields (velocity vectors on the faces for the staggered discretization).
template
<
class
VtkOutputModule
>
static
void
additionalOutput_
(
VtkOutputModule
&
vtk
,
MethodT
ype
<
DiscretizationMethod
::
staggered
>
)
static
void
additionalOutput_
(
VtkOutputModule
&
vtk
,
disc
MethodT
ag
<
DiscretizationMethod
::
staggered
>
)
{
const
bool
writeFaceVars
=
getParamFromGroup
<
bool
>
(
GET_PROP_VALUE
(
TypeTag
,
ModelParameterGroup
),
"Vtk.WriteFaceData"
,
false
);
if
(
writeFaceVars
)
...
...
dumux/freeflow/navierstokesnc/fluxvariables.hh
View file @
47d80ebe
...
...
@@ -32,7 +32,7 @@ namespace Dumux
// forward declaration
template
<
class
TypeTag
,
DiscretizationMethod
Method
>
template
<
class
TypeTag
,
DiscretizationMethod
disc
Method
>
class
NavierStokesNCFluxVariablesImpl
;
/*!
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment