mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use labelRange for identity
This commit is contained in:
@ -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)
|
||||
|
||||
@ -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()
|
||||
|
||||
Reference in New Issue
Block a user