mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- Since 'bool' and 'Switch' use the _identical_ input mechanism (ie, both accept true/false, on/off, yes/no, none, 1/0), the main reason to prefer one or the other is the output. The output for Switch is as text (eg, "true"), whereas for bool it is label (0 or 1). If the output is required for a dictionary, Switch may be appropriate. If the output is not required, or is only used for Pstream exchange, bool can be more appropriate.
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 surfaceFind - Finds nearest vertex and face to given point. surfaceMeshTriangulate - Triangulate external faces of mesh and write as surface. 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