mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: change MeshedSurface 'faces' access to 'surfFaces' (related to issue #104)
- use surfFaces() to return the templated list of faces. This frees up the method 'faces()' to be used as a virtual method, which will be needed at a later stage.
This commit is contained in:
@ -13,7 +13,6 @@ LIB_LIBS = \
|
||||
-lfiniteVolume \
|
||||
-lmeshTools \
|
||||
-lsurfMesh \
|
||||
-lfileFormats \
|
||||
-ltriSurface \
|
||||
-llagrangian \
|
||||
-ldynamicMesh \
|
||||
|
||||
@ -177,7 +177,7 @@ public:
|
||||
//- Faces of surface
|
||||
virtual const faceList& faces() const
|
||||
{
|
||||
return MeshStorage::faces();
|
||||
return MeshStorage::surfFaces();
|
||||
}
|
||||
|
||||
//- Face area vectors
|
||||
|
||||
@ -137,7 +137,7 @@ public:
|
||||
//- Faces of surface
|
||||
virtual const faceList& faces() const
|
||||
{
|
||||
return cuttingPlane::faces();
|
||||
return cuttingPlane::surfFaces();
|
||||
}
|
||||
|
||||
//- Face area magnitudes
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
\\/ M anipulation | Copyright (C) 2016 OpenCFD Ltd.
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
This file is part of OpenFOAM.
|
||||
|
||||
@ -213,7 +213,7 @@ public:
|
||||
//- Faces of surface
|
||||
virtual const faceList& faces() const
|
||||
{
|
||||
return MeshStorage::faces();
|
||||
return MeshStorage::surfFaces();
|
||||
}
|
||||
|
||||
//- Face area vectors
|
||||
|
||||
@ -145,7 +145,7 @@ public:
|
||||
//- Faces of surface
|
||||
virtual const faceList& faces() const
|
||||
{
|
||||
return MeshStorage::faces();
|
||||
return MeshStorage::surfFaces();
|
||||
}
|
||||
|
||||
//- Face area vectors (normals)
|
||||
|
||||
Reference in New Issue
Block a user