cfMesh utility to merge the supplied list of patches onto a single patch. More...
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< triSurf > | mergeSurfacePatches (const triSurf &origSurf, const UList< label > &patchIds, const word &newPatchName, bool keepPatches) |
int | main (int argc, char *argv[]) |
cfMesh utility to merge the supplied list of patches onto a single patch.
Original source file mergeSurfacePatches.C
Author Ivor Clifford ivor. clif ford@ psi. ch
Definition in file mergeSurfacePatches.C.
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().
Definition at line 78 of file mergeSurfacePatches.C.
References triSurfFacets::addFacetSubset(), triSurfFacets::addFacetToSubset(), triSurfFacets::facetsInSubset(), triSurfFacets::facetSubsetIndices(), triSurfFacets::facetSubsetName(), and forAll.
Referenced by mergeSurfacePatches().
Definition at line 110 of file mergeSurfacePatches.C.
References triSurfFeatureEdges::addEdgeSubset(), triSurfFeatureEdges::addEdgeToSubset(), triSurfFeatureEdges::edgesInSubset(), triSurfFeatureEdges::edgeSubsetIndices(), triSurfFeatureEdges::edgeSubsetName(), and forAll.
Referenced by mergeSurfacePatches().
Definition at line 142 of file mergeSurfacePatches.C.
References triSurfPoints::addPointSubset(), triSurfPoints::addPointToSubset(), forAll, triSurfPoints::pointsInSubset(), triSurfPoints::pointSubsetIndices(), and triSurfPoints::pointSubsetName().
Referenced by mergeSurfacePatches().
autoPtr<triSurf> mergeSurfacePatches | ( | const triSurf & | origSurf, |
const UList< label > & | patchIds, | ||
const word & | newPatchName, | ||
bool | keepPatches | ||
) |
Definition at line 174 of file mergeSurfacePatches.C.
References List::append(), List::clear(), copyEdgeSubsets(), copyFaceSubsets(), copyPointSubsets(), triSurfFacets::facets(), triSurfFeatureEdges::featureEdges(), forAll, triSurfFacets::patches(), triSurfPoints::points(), List::size(), LongList< T, Offset >::size(), and UList::size().
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 295 of file mergeSurfacePatches.C.
References Foam::abort(), DynamicList::append(), args, argList::args(), Foam::endl(), Foam::FatalError, Pair::first(), getPatchIds(), Foam::Info, mergeSurfacePatches(), argList::noParallel(), argList::options(), triSurfFacets::patches(), patchNames(), Pair::second(), List::size(), argList::validArgs, and argList::validOptions.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.