Files
openfoam/applications/utilities/surface
Mark Olesen bb53e8adb3 ENH: adjustments to Switch
- align Switch more with Enum.
  Now have find(), found() static methods.
  Constructors with failsafe option.

  The find() method makes for clearer coding:

  OLD

     Switch sw(some_string, true); // NB: true = allowBad

     if (sw.valid()) ...

  NOW

     Switch sw = Switch::find(some_string);

     if (sw.good()) ...

  or

     if (Switch::found(some_string)) ...

- improve construct from dictionary to handle all valid token types.
  Previously just read in a word.

- Remove asText() method - replaced by c_str() and str() several
  versions ago.
2020-02-18 21:51:35 +01:00
..
2019-10-31 14:48:44 +00:00

2008-10-23

Contents:

surfaceAdd
- adds to surface files. (but does not intersect or anything)

surfaceBooleanOp
- Boolean operations (add, or, xor) on closed surfaces. Probably not working.

surfaceCheck
- checks surface for incorrect topology. Checks normals of neighbouring faces.

surfaceCoarsen
- Stan Melax coarsening algorithm

surfaceConvert
- Converts surfaces to/from various formats

surfaceMeshExtract
- Extracts mesh patches (or faceSets) and writes as a single surface.
- foamToSurface duplicates this

surfaceFind
- Finds nearest vertex and face to given point.

surfacePointMerge
- Explicit point merge of surface.

surfaceSetOutside
- Orient normals on (closed) surface.

surfaceSmooth
- Laplacian smoothing on surface vertices

surfaceSubset
- Subsets surface

surfaceToPatch
- Applies region information of surfaces to mesh.
  Each external face of mesh gets region number of nearest surface triangle.

-------------------------------------------------------------------------------

surfaceMeshConvert
- Similar to surfaceConvert, but uses surfMesh library