Creates surface patches from surface subsets. More...
Go to the source code of this file.
Functions | |
void | makePatchFromSubset (triSurf &origSurf, const DynList< word > &subsetNames) |
int | main (int argc, char *argv[]) |
Creates surface patches from surface subsets.
Original source file subsetToPatch.C
Definition in file subsetToPatch.C.
create new list of patches
set names of the new patches
create new triangles
set patches for all triangles
remove patches with no elements
renumber the patches in the list of triangles
delete subsets converted to patches
update subsets
Definition at line 38 of file subsetToPatch.C.
References triSurfFacets::facets(), triSurfFacets::facetsInSubset(), triSurfFacets::facetSubsetIndex(), forAll, triSurfFacets::patches(), triSurfFacets::removeFacetSubset(), List::size(), DynList< T, staticSize >::size(), and triSurfFacets::updateFacetsSubsets().
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 119 of file subsetToPatch.C.
References DynList< T, staticSize >::append(), args, argList::args(), Foam::deleteDemandDrivenData(), Foam::endl(), triSurfFacets::facetSubsetIndex(), triSurfFacets::facetSubsetIndices(), triSurfFacets::facetSubsetName(), forAll, Foam::Info, makePatchFromSubset(), argList::noParallel(), DynList< T, staticSize >::size(), argList::validArgs, Foam::Warning, and triSurf::writeSurface().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.