![]() |
|
Public Member Functions | |
ClassName ("boundaryMesh") | |
Runtime type information. | |
boundaryMesh () | |
Construct null. | |
~boundaryMesh () | |
void | clearOut () |
const bMesh & | mesh () const |
const PtrList< boundaryPatch > & | patches () const |
const labelList & | meshFace () const |
Label of original face in polyMesh (before patchify(...)). | |
const pointField & | featurePoints () const |
Feature points. | |
const edgeList & | featureEdges () const |
Feature edges. Indices into featurePoints. | |
const labelList & | featureToEdge () const |
From index into featureEdge to index into meshedges,. | |
const labelList & | edgeToFeature () const |
From edge into featureEdges. | |
const labelListList & | featureSegments () const |
Lists of connected featureEdges. Indices into featureEdges. | |
const labelList & | extraEdges () const |
Indices into edges of additional edges. | |
void | read (const polyMesh &) |
Read from boundaryMesh of polyMesh. | |
void | readTriSurface (const fileName &) |
Read from triSurface. | |
void | writeTriSurface (const fileName &) const |
Write to file. | |
labelList | getNearest (const primitiveMesh &pMesh, const vector &searchSpan) const |
Get bMesh index of nearest face for every boundary face in. | |
void | patchify (const labelList &nearest, const polyBoundaryMesh &oldPatches, polyMesh &newMesh) const |
Take over patches onto polyMesh from nearest face in *this. | |
label | whichPatch (const label faceI) const |
Get index of patch face is in. | |
label | findPatchID (const word &patchName) const |
Get index of patch by name. | |
wordList | patchNames () const |
Get names of patches. | |
void | addPatch (const word &patchName) |
Add to back of patch list. | |
void | deletePatch (const word &patchName) |
Delete from patch list. | |
void | changePatchType (const word &patchName, const word &type) |
Change patch. | |
void | changeFaces (const labelList &patchIDs, labelList &oldToNew) |
Recalculate face ordering and patches. Return old to new. | |
void | setFeatureEdges (const scalar minCos) |
Set featureEdges, edgeToFeature, featureSegments according. | |
void | setExtraEdges (const label edgeI) |
Set extraEdges to edges 'near' to edgeI. Uses point-edge walk. | |
label | getNTris (const label faceI) const |
Simple triangulation of face subset. Returns number of triangles. | |
label | getNTris (const label startFaceI, const label nFaces, labelList &nTris) const |
Simple triangulation of face subset. TotalNTris is total number. | |
void | triangulate (const label startFaceI, const label nFaces, const label totalNTris, labelList &triVerts) const |
Simple triangulation of face subset. TotalNTris is total number. | |
label | getNPoints (const label startFaceI, const label nFaces) const |
Number of points used in face subset. | |
void | triangulateLocal (const label startFaceI, const label nFaces, const label totalNTris, labelList &triVerts, labelList &localToGlobal) const |
Same as triangulate but in local vertex numbering. | |
void | markFaces (const labelList &protectedEdges, const label faceI, boolList &visited) const |
|
Construct null.
|
|
|
|
Add to back of patch list.
|
|
Recalculate face ordering and patches. Return old to new. mapping. |
|
Change patch.
|
|
Runtime type information.
|
|
|
|
Delete from patch list.
|
|
From edge into featureEdges.
Definition at line 268 of file boundaryMesh.H. |
|
Indices into edges of additional edges.
Definition at line 280 of file boundaryMesh.H. References Foam::boolList, Foam::label, Foam::labelList, Foam::vector, and Foam::wordList. |
|
Feature edges. Indices into featurePoints.
Definition at line 256 of file boundaryMesh.H. |
|
Feature points.
Definition at line 250 of file boundaryMesh.H. |
|
Lists of connected featureEdges. Indices into featureEdges.
Definition at line 274 of file boundaryMesh.H. |
|
From index into featureEdge to index into meshedges,.
Definition at line 262 of file boundaryMesh.H. |
|
Get index of patch by name.
|
|
Get bMesh index of nearest face for every boundary face in. pMesh. Gets passed initial search box. If not found returns -1 for the face. |
|
Number of points used in face subset.
|
|
Simple triangulation of face subset. TotalNTris is total number. of triangles, nTris is per face number of triangles. |
|
Simple triangulation of face subset. Returns number of triangles. needed. |
|
|
|
Definition at line 226 of file boundaryMesh.H. |
|
Label of original face in polyMesh (before patchify(...)).
Definition at line 244 of file boundaryMesh.H. |
|
Definition at line 237 of file boundaryMesh.H. |
|
Take over patches onto polyMesh from nearest face in *this. (from call to getNearest). Insert as -new set of patches (newMesh.addPatches) -topoChanges to change faces. nearest is list of nearest face in *this for every boundary face. oldPatches is list of existing patches in mesh. newMesh is the mesh to which the new patches are added. (so has to be constructed without patches). |
|
Get names of patches.
|
|
Read from boundaryMesh of polyMesh.
|
|
Read from triSurface.
|
|
Set extraEdges to edges 'near' to edgeI. Uses point-edge walk. to determine 'near'. |
|
Set featureEdges, edgeToFeature, featureSegments according. to angle of faces across edge |
|
Simple triangulation of face subset. TotalNTris is total number. of triangles (from call to getNTris) triVerts is triangle vertices, three per triangle. |
|
Same as triangulate but in local vertex numbering. (Map returned). |
|
Get index of patch face is in.
|
|
Write to file.
|