STYLE: rename toLabel, toLabelRange classes -> labelOp, labelRangeOp

- make purpose as functors _slightly_ clearer.

- base definition removed for stricter enforcement of the specialization
  requirement.
This commit is contained in:
Mark Olesen
2018-04-11 22:48:03 +02:00
parent 97dc9f4029
commit fc5895f1df
8 changed files with 33 additions and 20 deletions

View File

@ -1010,7 +1010,7 @@ Foam::label Foam::checkGeometry
ListOps::create<label>
(
UPstream::procID(UPstream::worldComm),
toLabel<int>() // int -> label
labelOp<int>() // int -> label
),
ami.srcWeightsSum(),
mergedWeights
@ -1064,7 +1064,7 @@ Foam::label Foam::checkGeometry
ListOps::create<label>
(
UPstream::procID(UPstream::worldComm),
toLabel<int>() // int -> label
labelOp<int>() // int -> label
),
ami.tgtWeightsSum(),
mergedWeights

View File

@ -87,7 +87,7 @@ void writeWeights
ListOps::create<label>
(
UPstream::procID(UPstream::worldComm),
toLabel<int>() // int -> label
labelOp<int>() // int -> label
),
wghtSum,
mergedWeights