mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: foamyHexMesh: cell/face zone in parallel
This commit is contained in:
@ -847,7 +847,9 @@ Foam::label Foam::globalMeshData::findTransform
|
||||
{
|
||||
FatalErrorIn("globalMeshData::findTransform(..)")
|
||||
<< "Problem. Cannot find " << remotePoint
|
||||
<< " or " << localPoint << " in " << info
|
||||
<< " or " << localPoint << " "
|
||||
<< coupledPatch().localPoints()[localPoint]
|
||||
<< " in " << info
|
||||
<< endl
|
||||
<< "remoteTransformI:" << remoteTransformI << endl
|
||||
<< "localTransformI:" << localTransformI
|
||||
|
||||
@ -182,7 +182,6 @@ Foam::surfaceZonesInfo::surfaceZonesInfo(const surfaceZonesInfo& surfZone)
|
||||
{}
|
||||
|
||||
|
||||
// Get indices of unnamed surfaces (surfaces without faceZoneName)
|
||||
Foam::labelList Foam::surfaceZonesInfo::getUnnamedSurfaces
|
||||
(
|
||||
const PtrList<surfaceZonesInfo>& surfList
|
||||
@ -204,7 +203,6 @@ Foam::labelList Foam::surfaceZonesInfo::getUnnamedSurfaces
|
||||
}
|
||||
|
||||
|
||||
// Get indices of named surfaces (surfaces with faceZoneName)
|
||||
Foam::labelList Foam::surfaceZonesInfo::getNamedSurfaces
|
||||
(
|
||||
const PtrList<surfaceZonesInfo>& surfList
|
||||
@ -230,7 +228,6 @@ Foam::labelList Foam::surfaceZonesInfo::getNamedSurfaces
|
||||
}
|
||||
|
||||
|
||||
// Get indices of closed named surfaces
|
||||
Foam::labelList Foam::surfaceZonesInfo::getClosedNamedSurfaces
|
||||
(
|
||||
const PtrList<surfaceZonesInfo>& surfList,
|
||||
@ -263,7 +260,33 @@ Foam::labelList Foam::surfaceZonesInfo::getClosedNamedSurfaces
|
||||
}
|
||||
|
||||
|
||||
// Get indices of closed named surfaces
|
||||
Foam::labelList Foam::surfaceZonesInfo::getUnclosedNamedSurfaces
|
||||
(
|
||||
const PtrList<surfaceZonesInfo>& surfList,
|
||||
const searchableSurfaces& allGeometry,
|
||||
const labelList& surfaces
|
||||
)
|
||||
{
|
||||
labelList unclosed(surfList.size());
|
||||
|
||||
label unclosedI = 0;
|
||||
forAll(surfList, surfI)
|
||||
{
|
||||
if
|
||||
(
|
||||
surfList.set(surfI)
|
||||
&& !allGeometry[surfaces[surfI]].hasVolumeType()
|
||||
)
|
||||
{
|
||||
unclosed[unclosedI++] = surfI;
|
||||
}
|
||||
}
|
||||
unclosed.setSize(unclosedI);
|
||||
|
||||
return unclosed;
|
||||
}
|
||||
|
||||
|
||||
Foam::labelList Foam::surfaceZonesInfo::getAllClosedNamedSurfaces
|
||||
(
|
||||
const PtrList<surfaceZonesInfo>& surfList,
|
||||
@ -292,7 +315,6 @@ Foam::labelList Foam::surfaceZonesInfo::getAllClosedNamedSurfaces
|
||||
}
|
||||
|
||||
|
||||
// Get indices of named surfaces with a
|
||||
Foam::labelList Foam::surfaceZonesInfo::getInsidePointNamedSurfaces
|
||||
(
|
||||
const PtrList<surfaceZonesInfo>& surfList
|
||||
|
||||
@ -199,6 +199,14 @@ public:
|
||||
const labelList& surfaces
|
||||
);
|
||||
|
||||
//- Get indices of surfaces with a cellZone that are unclosed
|
||||
static labelList getUnclosedNamedSurfaces
|
||||
(
|
||||
const PtrList<surfaceZonesInfo>& surfList,
|
||||
const searchableSurfaces& allGeometry,
|
||||
const labelList& surfaces
|
||||
);
|
||||
|
||||
//- Get indices of surfaces with a cellZone that are closed.
|
||||
static labelList getAllClosedNamedSurfaces
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user