STYLE: use labelRange for identity

This commit is contained in:
Mark Olesen
2020-11-23 12:04:39 +01:00
parent ae49b51182
commit 7349b97ecc
10 changed files with 24 additions and 34 deletions

View File

@ -6,6 +6,7 @@
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2012-2016 OpenFOAM Foundation
Copyright (C) 2020 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -24,7 +25,7 @@ License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Application
testPatchTools
Test-PatchTools
Description
Test app for PatchTools functionality
@ -261,7 +262,7 @@ int main(int argc, char *argv[])
// (
// mesh,
// pp,
// identity(pp.size(), pp.start())
// identity(pp.range())
// )
// );
// forAll(pn, pointi)
@ -278,7 +279,7 @@ int main(int argc, char *argv[])
// (
// mesh,
// pp,
// identity(pp.size(), pp.start())
// identity(pp.range())
// )
// );
// forAll(pn, pointi)

View File

@ -41,7 +41,7 @@
fz[3*pairi] = new faceZone
(
mergeName + "MasterZone",
identity(masterPatch.size(), masterPatch.start()),
identity(masterPatch.range()),
false, // none are flipped
0,
mesh.faceZones()
@ -55,7 +55,7 @@
fz[3*pairi + 1] = new faceZone
(
mergeName + "SlaveZone",
identity(slavePatch.size(), slavePatch.start()),
identity(slavePatch.range()),
false, // none are flipped
1,
mesh.faceZones()