[diffcoeff] Fix occurences of diffCoeff(p,p,c) using FS::getMainComponent
FluidSystem::getMainComponent returns the main componet index of the phase. This doesn't actually make sense for the tracer models which why this commit also * removes getMainComponent for tracer fluid systems (Changelog amended) * guards all occurences of getMainComponent in code that works for tracer too with constexpr if
parent
7d93c65c
No related branches found
No related tags found
Showing
- CHANGELOG.md 2 additions, 0 deletionsCHANGELOG.md
- dumux/flux/box/fickslaw.hh 67 additions, 36 deletionsdumux/flux/box/fickslaw.hh
- dumux/flux/ccmpfa/fickslaw.hh 7 additions, 5 deletionsdumux/flux/ccmpfa/fickslaw.hh
- dumux/flux/cctpfa/fickslaw.hh 18 additions, 7 deletionsdumux/flux/cctpfa/fickslaw.hh
- dumux/flux/staggered/freeflow/fickslaw.hh 2 additions, 1 deletiondumux/flux/staggered/freeflow/fickslaw.hh
- dumux/flux/staggered/freeflow/maxwellstefanslaw.hh 2 additions, 1 deletiondumux/flux/staggered/freeflow/maxwellstefanslaw.hh
- dumux/freeflow/compositional/iofields.hh 2 additions, 1 deletiondumux/freeflow/compositional/iofields.hh
- dumux/material/fluidsystems/base.hh 2 additions, 2 deletionsdumux/material/fluidsystems/base.hh
- dumux/porousmediumflow/fluxvariablescachefiller.hh 24 additions, 13 deletionsdumux/porousmediumflow/fluxvariablescachefiller.hh
- dumux/porousmediumflow/nonequilibrium/localresidual.hh 1 addition, 1 deletiondumux/porousmediumflow/nonequilibrium/localresidual.hh
- examples/1ptracer/problem_tracer.hh 1 addition, 6 deletionsexamples/1ptracer/problem_tracer.hh
- test/multidomain/facet/tracer_tracer/tracerfluidsystem.hh 1 addition, 6 deletionstest/multidomain/facet/tracer_tracer/tracerfluidsystem.hh
- test/porousmediumflow/tracer/2ptracer/problem_tracer.hh 0 additions, 4 deletionstest/porousmediumflow/tracer/2ptracer/problem_tracer.hh
- test/porousmediumflow/tracer/constvel/problem.hh 0 additions, 4 deletionstest/porousmediumflow/tracer/constvel/problem.hh
Loading
Please register or sign in to comment