From 693d21d51d546bcaa78ade9429f883540ed0aebc Mon Sep 17 00:00:00 2001 From: Timo Koch <timo.koch@iws.uni-stuttgart.de> Date: Thu, 26 Mar 2020 00:27:56 +0100 Subject: [PATCH] [fixup][diffcoeff] Fix deprecation message --- dumux/freeflow/compositional/volumevariables.hh | 2 +- dumux/porousmediumflow/1pnc/volumevariables.hh | 2 +- dumux/porousmediumflow/2p2c/volumevariables.hh | 2 +- dumux/porousmediumflow/2pnc/volumevariables.hh | 2 +- dumux/porousmediumflow/3p3c/volumevariables.hh | 2 +- dumux/porousmediumflow/3pwateroil/volumevariables.hh | 2 +- dumux/porousmediumflow/co2/volumevariables.hh | 2 +- dumux/porousmediumflow/mpnc/volumevariables.hh | 2 +- dumux/porousmediumflow/richards/volumevariables.hh | 2 +- dumux/porousmediumflow/richardsnc/volumevariables.hh | 2 +- dumux/porousmediumflow/tracer/volumevariables.hh | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/dumux/freeflow/compositional/volumevariables.hh b/dumux/freeflow/compositional/volumevariables.hh index d4adfb2319..f35e1305d9 100644 --- a/dumux/freeflow/compositional/volumevariables.hh +++ b/dumux/freeflow/compositional/volumevariables.hh @@ -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) diff --git a/dumux/porousmediumflow/1pnc/volumevariables.hh b/dumux/porousmediumflow/1pnc/volumevariables.hh index 1356fa9847..2013dc8914 100644 --- a/dumux/porousmediumflow/1pnc/volumevariables.hh +++ b/dumux/porousmediumflow/1pnc/volumevariables.hh @@ -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); } diff --git a/dumux/porousmediumflow/2p2c/volumevariables.hh b/dumux/porousmediumflow/2p2c/volumevariables.hh index 23c69f2635..fc5e2ebfe4 100644 --- a/dumux/porousmediumflow/2p2c/volumevariables.hh +++ b/dumux/porousmediumflow/2p2c/volumevariables.hh @@ -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); } diff --git a/dumux/porousmediumflow/2pnc/volumevariables.hh b/dumux/porousmediumflow/2pnc/volumevariables.hh index 969dee5118..3efdd790b7 100644 --- a/dumux/porousmediumflow/2pnc/volumevariables.hh +++ b/dumux/porousmediumflow/2pnc/volumevariables.hh @@ -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) diff --git a/dumux/porousmediumflow/3p3c/volumevariables.hh b/dumux/porousmediumflow/3p3c/volumevariables.hh index b7f825cee1..1bf86058b2 100644 --- a/dumux/porousmediumflow/3p3c/volumevariables.hh +++ b/dumux/porousmediumflow/3p3c/volumevariables.hh @@ -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) diff --git a/dumux/porousmediumflow/3pwateroil/volumevariables.hh b/dumux/porousmediumflow/3pwateroil/volumevariables.hh index 207390b2ca..1c7e703bec 100644 --- a/dumux/porousmediumflow/3pwateroil/volumevariables.hh +++ b/dumux/porousmediumflow/3pwateroil/volumevariables.hh @@ -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); } diff --git a/dumux/porousmediumflow/co2/volumevariables.hh b/dumux/porousmediumflow/co2/volumevariables.hh index d63f41b8b2..ea08710c4f 100644 --- a/dumux/porousmediumflow/co2/volumevariables.hh +++ b/dumux/porousmediumflow/co2/volumevariables.hh @@ -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) diff --git a/dumux/porousmediumflow/mpnc/volumevariables.hh b/dumux/porousmediumflow/mpnc/volumevariables.hh index 82e5db9cde..30eac0424d 100644 --- a/dumux/porousmediumflow/mpnc/volumevariables.hh +++ b/dumux/porousmediumflow/mpnc/volumevariables.hh @@ -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) diff --git a/dumux/porousmediumflow/richards/volumevariables.hh b/dumux/porousmediumflow/richards/volumevariables.hh index 7f0cafd59f..3ed8fc01d6 100644 --- a/dumux/porousmediumflow/richards/volumevariables.hh +++ b/dumux/porousmediumflow/richards/volumevariables.hh @@ -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); diff --git a/dumux/porousmediumflow/richardsnc/volumevariables.hh b/dumux/porousmediumflow/richardsnc/volumevariables.hh index 6093ebda74..c991d6b613 100644 --- a/dumux/porousmediumflow/richardsnc/volumevariables.hh +++ b/dumux/porousmediumflow/richardsnc/volumevariables.hh @@ -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);} diff --git a/dumux/porousmediumflow/tracer/volumevariables.hh b/dumux/porousmediumflow/tracer/volumevariables.hh index 2a4d39abc0..11a1af6f8d 100644 --- a/dumux/porousmediumflow/tracer/volumevariables.hh +++ b/dumux/porousmediumflow/tracer/volumevariables.hh @@ -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]; } -- GitLab