Skip to content
Snippets Groups Projects
Commit bb3d763a authored by Timo Koch's avatar Timo Koch Committed by Ned Coltman
Browse files

[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
1 merge request!1684Improve effective laws
Showing
with 129 additions and 87 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment