Functions
subsetToPatch.C File Reference

Creates surface patches from surface subsets. More...

Include dependency graph for subsetToPatch.C:

Go to the source code of this file.

Functions

void makePatchFromSubset (triSurf &origSurf, const DynList< word > &subsetNames)
 
int main (int argc, char *argv[])
 

Detailed Description

Creates surface patches from surface subsets.

Original source file subsetToPatch.C

Definition in file subsetToPatch.C.

Function Documentation

◆ makePatchFromSubset()

void makePatchFromSubset ( triSurf origSurf,
const DynList< word > &  subsetNames 
)

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().

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

◆ main()

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