Commit 916e70b8 authored by Dennis Gläser's avatar Dennis Gläser Committed by Ned Coltman
Browse files

[tracer][volvars] fix deprecated diff coeff interface

parent b5dd304f
......@@ -207,7 +207,7 @@ public:
[[deprecated("Signature deprecated. Use diffusionCoefficient(phaseIdx, compIIdx, compJIdx)!")]]
Scalar diffusionCoefficient(int phaseIdx, int compIdx) const
{ return diffCoeff_(phaseIdx, 0, 0); }
{ return diffCoeff_(0, 0, compIdx+1); }
* \brief Returns the binary diffusion coefficients for a phase in \f$[m^2/s]\f$.
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