Functions
mergeSurfacePatches.C File Reference

cfMesh utility to merge the supplied list of patches onto a single patch. More...

Include dependency graph for mergeSurfacePatches.C:

Go to the source code of this file.

Functions

void getPatchIds (const triSurf &origSurf, const wordList &patchNames, DynamicList< label > &patchIds)
 
void copyFaceSubsets (const triSurf &origSurf, triSurf &newSurf)
 
void copyEdgeSubsets (const triSurf &origSurf, triSurf &newSurf)
 
void copyPointSubsets (const triSurf &origSurf, triSurf &newSurf)
 
autoPtr< triSurfmergeSurfacePatches (const triSurf &origSurf, const UList< label > &patchIds, const word &newPatchName, bool keepPatches)
 
int main (int argc, char *argv[])
 

Detailed Description

cfMesh utility to merge the supplied list of patches onto a single patch.

Original source file mergeSurfacePatches.C

Author Ivor Clifford ivor..nosp@m.clif.nosp@m.ford@.nosp@m.psi..nosp@m.ch

Definition in file mergeSurfacePatches.C.

Function Documentation

◆ getPatchIds()

void getPatchIds ( const triSurf origSurf,
const wordList patchNames,
DynamicList< label > &  patchIds 
)

Definition at line 46 of file mergeSurfacePatches.C.

References DynamicList::append(), Foam::endl(), forAll, HashTable< nil, word, string::hash >::found(), triSurfFacets::patches(), patchNames(), List::size(), and WarningIn.

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ copyFaceSubsets()

void copyFaceSubsets ( const triSurf origSurf,
triSurf newSurf 
)

Definition at line 78 of file mergeSurfacePatches.C.

References triSurfFacets::addFacetSubset(), triSurfFacets::addFacetToSubset(), triSurfFacets::facetsInSubset(), triSurfFacets::facetSubsetIndices(), triSurfFacets::facetSubsetName(), and forAll.

Referenced by mergeSurfacePatches().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ copyEdgeSubsets()

void copyEdgeSubsets ( const triSurf origSurf,
triSurf newSurf 
)

Definition at line 110 of file mergeSurfacePatches.C.

References triSurfFeatureEdges::addEdgeSubset(), triSurfFeatureEdges::addEdgeToSubset(), triSurfFeatureEdges::edgesInSubset(), triSurfFeatureEdges::edgeSubsetIndices(), triSurfFeatureEdges::edgeSubsetName(), and forAll.

Referenced by mergeSurfacePatches().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ copyPointSubsets()

void copyPointSubsets ( const triSurf origSurf,
triSurf newSurf 
)

Definition at line 142 of file mergeSurfacePatches.C.

References triSurfPoints::addPointSubset(), triSurfPoints::addPointToSubset(), forAll, triSurfPoints::pointsInSubset(), triSurfPoints::pointSubsetIndices(), and triSurfPoints::pointSubsetName().

Referenced by mergeSurfacePatches().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mergeSurfacePatches()

autoPtr<triSurf> mergeSurfacePatches ( const triSurf origSurf,
const UList< label > &  patchIds,
const word newPatchName,
bool  keepPatches 
)

◆ main()

int main ( int  argc,
char *  argv[] 
)