mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use face_type instead of FaceType typedef
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
Copyright (C) 2020 OpenCFD Ltd.
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
This file is part of OpenFOAM.
|
||||
@ -35,7 +36,7 @@ static void markPointNbrs
|
||||
boolList& okToCollapse
|
||||
)
|
||||
{
|
||||
const triSurface::FaceType& f = surf.localFaces()[facei];
|
||||
const triSurface::face_type& f = surf.localFaces()[facei];
|
||||
|
||||
forAll(f, fp)
|
||||
{
|
||||
@ -109,7 +110,7 @@ label collapseEdge(triSurface& surf, const scalar minLen)
|
||||
if (okToCollapse[facei])
|
||||
{
|
||||
// Check edge lengths.
|
||||
const triSurface::FaceType& f = localFaces[facei];
|
||||
const triSurface::face_type& f = localFaces[facei];
|
||||
|
||||
forAll(f, fp)
|
||||
{
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
Copyright (C) 2019 OpenCFD Ltd.
|
||||
Copyright (C) 2019-2020 OpenCFD Ltd.
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
This file is part of OpenFOAM.
|
||||
@ -459,7 +459,7 @@ label sharedFace
|
||||
|
||||
const edge& e = surf.edges()[sharedEdgeI];
|
||||
|
||||
const triSurface::FaceType& f = surf.localFaces()[firstFacei];
|
||||
const triSurface::face_type& f = surf.localFaces()[firstFacei];
|
||||
|
||||
label startIndex = f.find(e.start());
|
||||
|
||||
@ -611,13 +611,13 @@ void renumberFaces
|
||||
const triSurface& surf,
|
||||
const labelList& pointMap,
|
||||
const Map<label>& faceToEdge,
|
||||
List<triSurface::FaceType>& newTris
|
||||
List<triSurface::face_type>& newTris
|
||||
)
|
||||
{
|
||||
forAllConstIters(faceToEdge, iter)
|
||||
{
|
||||
const label facei = iter.key();
|
||||
const triSurface::FaceType& f = surf.localFaces()[facei];
|
||||
const triSurface::face_type& f = surf.localFaces()[facei];
|
||||
|
||||
forAll(f, fp)
|
||||
{
|
||||
@ -932,7 +932,7 @@ int main(int argc, char *argv[])
|
||||
// Check if faces use unmoved points.
|
||||
forAll(newTris, facei)
|
||||
{
|
||||
const triSurface::FaceType& f = newTris[facei];
|
||||
const triSurface::face_type& f = newTris[facei];
|
||||
|
||||
forAll(f, fp)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user