Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dumux-repositories
dumux
Commits
b95b830a
Commit
b95b830a
authored
4 years ago
by
Kilian Weishaupt
Browse files
Options
Downloads
Patches
Plain Diff
[fluxvariables] Mark params with [[maybe_unused]]
parent
c696b361
No related branches found
No related tags found
1 merge request
!2088
Cleanup/unused params
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dumux/porousmediumflow/fluxvariables.hh
+3
-3
3 additions, 3 deletions
dumux/porousmediumflow/fluxvariables.hh
with
3 additions
and
3 deletions
dumux/porousmediumflow/fluxvariables.hh
+
3
−
3
View file @
b95b830a
...
@@ -90,7 +90,7 @@ public:
...
@@ -90,7 +90,7 @@ public:
* \brief Returns the advective flux computed by the respective law.
* \brief Returns the advective flux computed by the respective law.
*/
*/
template
<
typename
FunctionType
>
template
<
typename
FunctionType
>
Scalar
advectiveFlux
(
const
int
phaseIdx
,
const
FunctionType
&
upwindTerm
)
const
Scalar
advectiveFlux
(
[[
maybe_unused
]]
const
int
phaseIdx
,
[[
maybe_unused
]]
const
FunctionType
&
upwindTerm
)
const
{
{
if
constexpr
(
enableAdvection
)
if
constexpr
(
enableAdvection
)
{
{
...
@@ -117,7 +117,7 @@ public:
...
@@ -117,7 +117,7 @@ public:
/*!
/*!
* \brief Returns the diffusive fluxes computed by the respective law.
* \brief Returns the diffusive fluxes computed by the respective law.
*/
*/
Dune
::
FieldVector
<
Scalar
,
numComponents
>
molecularDiffusionFlux
(
const
int
phaseIdx
)
const
Dune
::
FieldVector
<
Scalar
,
numComponents
>
molecularDiffusionFlux
(
[[
maybe_unused
]]
const
int
phaseIdx
)
const
{
{
if
constexpr
(
enableMolecularDiffusion
)
if
constexpr
(
enableMolecularDiffusion
)
return
MolecularDiffusionType
::
flux
(
this
->
problem
(),
return
MolecularDiffusionType
::
flux
(
this
->
problem
(),
...
@@ -153,7 +153,7 @@ public:
...
@@ -153,7 +153,7 @@ public:
* \brief Returns the conductive flux computed by the respective law.
* \brief Returns the conductive flux computed by the respective law.
* \note This overload is used in models considering local thermal nonequilibrium
* \note This overload is used in models considering local thermal nonequilibrium
*/
*/
Scalar
heatConductionFlux
(
int
phaseIdx
)
const
Scalar
heatConductionFlux
(
[[
maybe_unused
]]
const
int
phaseIdx
)
const
{
{
if
constexpr
(
enableEnergyBalance
)
if
constexpr
(
enableEnergyBalance
)
return
HeatConductionType
::
flux
(
this
->
problem
(),
return
HeatConductionType
::
flux
(
this
->
problem
(),
...
...
This diff is collapsed.
Click to expand it.
Timo Koch
@timok
mentioned in commit
8bf3d4ef
·
4 years ago
mentioned in commit
8bf3d4ef
mentioned in commit 8bf3d4ef7e8af05c35b0a9a22b75b3ee4b0179aa
Toggle commit list
Timo Koch
@timok
mentioned in merge request
!2091 (merged)
·
4 years ago
mentioned in merge request
!2091 (merged)
mentioned in merge request !2091
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment