STYLE: mark globalMeshData::ListPlusEqOp as deprecated

- can use ListOps::appendEqOp as the more general form.
  Note that this uses a different template parameter.
  Eg,
      `globalMeshData::ListPlusEqOp<labelList>()`
  vs. `ListOps::appendEqOp<label>()`
This commit is contained in:
Mark Olesen
2020-09-10 10:23:17 +02:00
parent 0a1cd580ac
commit 0d08942bf3
2 changed files with 33 additions and 28 deletions

View File

@ -1981,7 +1981,7 @@ Foam::pointField Foam::globalMeshData::geometricSharedPoints() const
pointField sharedPoints(mesh_.points(), sharedPointLabels());
// Append from all processors
combineReduce(sharedPoints, ListPlusEqOp<pointField>());
combineReduce(sharedPoints, ListOps::appendEqOp<point>());
// Merge tolerance
scalar tolDim = matchTol_ * mesh_.bounds().mag();