mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: polyBoundaryMesh additional faces() and faceOwner() slice methods
- return a subList view of the mesh faces, owners
This commit is contained in:
@ -52,9 +52,9 @@ void writeVTKtetMesh(const fileName& output, const polyMesh& mesh_)
|
||||
{
|
||||
nTets += 2 * faces[facei].nTriangles();
|
||||
}
|
||||
for (label facei = mesh_.nInternalFaces(); facei < mesh_.nFaces(); ++facei)
|
||||
for (const face& f : mesh_.boundaryMesh().faces())
|
||||
{
|
||||
nTets += faces[facei].nTriangles();
|
||||
nTets += f.nTriangles();
|
||||
}
|
||||
const label nPoints = (mesh_.nPoints() + mesh_.nCells());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user