Functions
FMSToSurface.C File Reference

Creates surface patches from surface subsets. More...

Include dependency graph for FMSToSurface.C:

Go to the source code of this file.

Functions

void exportFeatureEdges (const triSurf &origSurf, const fileName &edgeFileName)
 
int main (int argc, char *argv[])
 

Detailed Description

Creates surface patches from surface subsets.

Original source file FMSToSurface.C

Definition in file FMSToSurface.C.

Function Documentation

◆ exportFeatureEdges()

void exportFeatureEdges ( const triSurf origSurf,
const fileName edgeFileName 
)

write the header

write points

Definition at line 40 of file FMSToSurface.C.

References Foam::e, Foam::exit(), Foam::FatalError, FatalErrorIn, triSurfFeatureEdges::featureEdges(), forAll, Foam::nl, nPoints, p, points, triSurfPoints::points(), and token::SPACE.

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[] 
)

read the inout surface

write the surface in the requated format

export surface subsets as separate surface meshes

get the name of the subset

create a surface mesh corresponding to the subset

write the mesh on disk

Definition at line 102 of file FMSToSurface.C.

References args, argList::args(), triSurfaceCopyParts::copySurface(), Foam::endl(), exportFeatureEdges(), fileName::ext(), triSurfFacets::facetSubsetIndices(), triSurfFacets::facetSubsetName(), forAll, Foam::Info, fileName::lessExt(), argList::noParallel(), argList::options(), argList::validArgs, argList::validOptions, and triSurf::writeSurface().

Here is the call graph for this function: