[fvGeometry] Make range generators free functions / friend functions
We iterate over all scvs of a fvElementGeometry like this for (const auto& scv : scvs(fvGeometry)) This is closer to the way we speak "For each scv in all scvs of the fvElementGeometry do..." and analogously to how we iterate over elements of a gridView.
Showing
- dumux/porousmediumflow/3p3c/implicit/model.hh 2 additions, 2 deletionsdumux/porousmediumflow/3p3c/implicit/model.hh
- dumux/porousmediumflow/compositional/primaryvariableswitch.hh 2 additions, 2 deletions...x/porousmediumflow/compositional/primaryvariableswitch.hh
- test/implicit/test_fvelementgeometry.cc 4 additions, 4 deletionstest/implicit/test_fvelementgeometry.cc
- test/porousmediumflow/3p3c/implicit/infiltrationproblem.hh 1 addition, 1 deletiontest/porousmediumflow/3p3c/implicit/infiltrationproblem.hh
Please register or sign in to comment