ENH: improve consistency of ListOps and stringListOps

- subsetList, inplaceSubsetList with optional inverted logic.

- use moveable elements where possible.

- allow optional starting offset for the identity global function.
  Eg,  'identity(10, start)' vs 'identity(10) + start'
This commit is contained in:
Mark Olesen
2018-02-21 12:58:00 +01:00
parent 3ee2f3293e
commit f959927910
22 changed files with 472 additions and 425 deletions

View File

@ -122,8 +122,7 @@ Foam::treeDataFace::treeDataFace
mesh_(patch.boundaryMesh().mesh()),
faceLabels_
(
identity(patch.size())
+ patch.start()
identity(patch.size(), patch.start())
),
isTreeFace_(mesh_.nFaces(), 0),
cacheBb_(cacheBb)