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
693d21d5
Commit
693d21d5
authored
Mar 26, 2020
by
Timo Koch
Committed by
Ned Coltman
Mar 26, 2020
Browse files
[fixup][diffcoeff] Fix deprecation message
parent
bb3d763a
Changes
11
Hide whitespace changes
Inline
Side-by-side
dumux/freeflow/compositional/volumevariables.hh
View file @
693d21d5
...
...
@@ -255,7 +255,7 @@ public:
* \param compIIdx the index of the component which diffusive
* \param compJIdx the index of the component with respect to which compIIdx diffuses
*/
[[
deprecated
(
"
Signature deprecated
. Use diffusionCoefficient(phaseIdx, compIIdx, compJIdx)!"
)]]
[[
deprecated
(
"
Will be removed after release 3.2
. Use diffusionCoefficient(phaseIdx, compIIdx, compJIdx)!"
)]]
Scalar
diffusionCoefficient
(
int
compIIdx
,
int
compJIdx
=
0
)
const
{
if
(
compIIdx
==
compJIdx
)
...
...
dumux/porousmediumflow/1pnc/volumevariables.hh
View file @
693d21d5
...
...
@@ -331,7 +331,7 @@ public:
/*!
* \brief Returns the binary diffusion coefficients for a phase in \f$[m^2/s]\f$.
*/
[[
deprecated
(
"
Signature deprecated
. Use diffusionCoefficient(phaseIdx, compIIdx, compJIdx)!"
)]]
[[
deprecated
(
"
Will be removed after release 3.2
. Use diffusionCoefficient(phaseIdx, compIIdx, compJIdx)!"
)]]
Scalar
diffusionCoefficient
(
int
phaseIdx
,
int
compIdx
)
const
{
return
diffCoeff_
(
phaseIdx
,
FluidSystem
::
getMainComponent
(
phaseIdx
),
compIdx
);
}
...
...
dumux/porousmediumflow/2p2c/volumevariables.hh
View file @
693d21d5
...
...
@@ -387,7 +387,7 @@ public:
/*!
* \brief Returns the binary diffusion coefficients for a phase in \f$[m^2/s]\f$.
*/
[[
deprecated
(
"
Signature deprecated
. Use diffusionCoefficient(phaseIdx, compIIdx, compJIdx)!"
)]]
[[
deprecated
(
"
Will be removed after release 3.2
. Use diffusionCoefficient(phaseIdx, compIIdx, compJIdx)!"
)]]
Scalar
diffusionCoefficient
(
int
phaseIdx
,
int
compIdx
)
const
{
return
diffCoeff_
(
phaseIdx
,
FluidSystem
::
getMainComponent
(
phaseIdx
),
compIdx
);
}
...
...
dumux/porousmediumflow/2pnc/volumevariables.hh
View file @
693d21d5
...
...
@@ -453,7 +453,7 @@ public:
/*!
* \brief Returns the diffusion coefficient
*/
[[
deprecated
(
"
Signature deprecated
. Use diffusionCoefficient(phaseIdx, compIIdx, compJIdx)!"
)]]
[[
deprecated
(
"
Will be removed after release 3.2
. Use diffusionCoefficient(phaseIdx, compIIdx, compJIdx)!"
)]]
Scalar
diffusionCoefficient
(
int
phaseIdx
,
int
compIdx
)
const
{
if
(
compIdx
!=
phaseIdx
)
...
...
dumux/porousmediumflow/3p3c/volumevariables.hh
View file @
693d21d5
...
...
@@ -713,7 +713,7 @@ public:
/*!
* \brief Returns the diffusion coefficient
*/
[[
deprecated
(
"
Signature deprecated
. Use diffusionCoefficient(phaseIdx, compIIdx, compJIdx)!"
)]]
[[
deprecated
(
"
Will be removed after release 3.2
. Use diffusionCoefficient(phaseIdx, compIIdx, compJIdx)!"
)]]
Scalar
diffusionCoefficient
(
int
phaseIdx
,
int
compIdx
)
const
{
if
(
compIdx
!=
phaseIdx
)
...
...
dumux/porousmediumflow/3pwateroil/volumevariables.hh
View file @
693d21d5
...
...
@@ -906,7 +906,7 @@ public:
/*!
* \brief Returns the diffusion coefficient
*/
[[
deprecated
(
"
Signature deprecated
. Use diffusionCoefficient(phaseIdx, compIIdx, compJIdx)!"
)]]
[[
deprecated
(
"
Will be removed after release 3.2
. Use diffusionCoefficient(phaseIdx, compIIdx, compJIdx)!"
)]]
Scalar
diffusionCoefficient
(
int
phaseIdx
,
int
compIdx
)
const
{
return
diffCoeff_
(
phaseIdx
,
FluidSystem
::
getMainComponent
(
phaseIdx
),
compIdx
);
}
...
...
dumux/porousmediumflow/co2/volumevariables.hh
View file @
693d21d5
...
...
@@ -466,7 +466,7 @@ public:
/*!
* \brief Returns the binary diffusion coefficients for a phase in \f$[m^2/s]\f$.
*/
[[
deprecated
(
"
Signature deprecated
. Use diffusionCoefficient(phaseIdx, compIIdx, compJIdx)!"
)]]
[[
deprecated
(
"
Will be removed after release 3.2
. Use diffusionCoefficient(phaseIdx, compIIdx, compJIdx)!"
)]]
Scalar
diffusionCoefficient
(
int
phaseIdx
,
int
compIdx
)
const
{
if
(
phaseIdx
==
compIdx
)
...
...
dumux/porousmediumflow/mpnc/volumevariables.hh
View file @
693d21d5
...
...
@@ -951,7 +951,7 @@ public:
/*!
* \brief Returns the diffusion coefficient
*/
[[
deprecated
(
"
Signature deprecated
. Use diffusionCoefficient(phaseIdx, compIIdx, compJIdx)!"
)]]
[[
deprecated
(
"
Will be removed after release 3.2
. Use diffusionCoefficient(phaseIdx, compIIdx, compJIdx)!"
)]]
Scalar
diffusionCoefficient
(
int
phaseIdx
,
int
compIdx
)
const
{
if
(
compIdx
!=
phaseIdx
)
...
...
dumux/porousmediumflow/richards/volumevariables.hh
View file @
693d21d5
...
...
@@ -496,7 +496,7 @@ public:
* \param phaseIdx The phase index
* \param compIdx The component index
*/
[[
deprecated
(
"
Signature deprecated
. Use diffusionCoefficient(phaseIdx, compIIdx, compJIdx)!"
)]]
[[
deprecated
(
"
Will be removed after release 3.2
. Use diffusionCoefficient(phaseIdx, compIIdx, compJIdx)!"
)]]
Scalar
diffusionCoefficient
(
int
phaseIdx
,
int
compIdx
)
const
{
assert
(
enableWaterDiffusionInAir
()
&&
phaseIdx
==
FluidSystem
::
gasPhaseIdx
&&
compIdx
==
FluidSystem
::
comp0Idx
);
...
...
dumux/porousmediumflow/richardsnc/volumevariables.hh
View file @
693d21d5
...
...
@@ -410,7 +410,7 @@ public:
* \param phaseIdx The index of the phase.
* \param compIdx The index of the component
*/
[[
deprecated
(
"
Signature deprecated
. Use diffusionCoefficient(phaseIdx, compIIdx, compJIdx)!"
)]]
[[
deprecated
(
"
Will be removed after release 3.2
. Use diffusionCoefficient(phaseIdx, compIIdx, compJIdx)!"
)]]
Scalar
diffusionCoefficient
(
const
int
phaseIdx
,
const
int
compIdx
)
const
{
return
diffCoeff_
(
phaseIdx
,
FluidSystem
::
getMainComponent
(
phaseIdx
),
compIdx
);}
...
...
dumux/porousmediumflow/tracer/volumevariables.hh
View file @
693d21d5
...
...
@@ -186,7 +186,7 @@ public:
/*!
* \brief Returns the binary diffusion coefficients for a phase in \f$[m^2/s]\f$.
*/
[[
deprecated
(
"
Signature deprecated
. Use diffusionCoefficient(phaseIdx, compIIdx, compJIdx)!"
)]]
[[
deprecated
(
"
Will be removed after release 3.2
. Use diffusionCoefficient(phaseIdx, compIIdx, compJIdx)!"
)]]
Scalar
diffusionCoefficient
(
int
phaseIdx
,
int
compIdx
)
const
{
return
diffCoeff_
[
compIdx
];
}
...
...
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