|
|
|
cellClassification Class Reference'Cuts' a mesh with a surface. More...
Inheritance diagram for cellClassification:
![]()
Collaboration diagram for cellClassification:
![]()
Detailed Description'Cuts' a mesh with a surface.Divides cells into three types
Used in various meshing programs. Has various utility functions to deal with 'features' on this level where the mesh still has all inside and outside cells.
Seen from above:
Ok:
A | A
|
--+---
|
B | B
Not ok:
A | B
|
---+---
|
B | A
because this latter situation would cause the surface after subsetting type A or B to be multiply connected across this edge. And also when snapping the edge end points to the surface it might cause some twisted faces if the surface is normal to the edge (and smoothing the surface would not help since the points on the edge would be 'pulled' from two different sides)
Definition at line 113 of file cellClassification.H. Member Enumeration Documentation
Definition at line 123 of file cellClassification.H.
Enumeration defining the whether points are use by cells of. a certain type. Definition at line 136 of file cellClassification.H.
Constructor & Destructor Documentation
Construct from mesh and surface and point(s) on outside.
Definition at line 474 of file cellClassification.C.
Construct from mesh and type for every cell. Used to be able to reuse filling routines below. Definition at line 495 of file cellClassification.C.
Member Function Documentation
Definition at line 226 of file cellClassification.H.
Definition at line 529 of file cellClassification.C. References cellClassification::CUT, forAll, cellClassification::MIXED, primitiveMesh::nPoints(), and primitiveMesh::pointCells(). Referenced by surfaceSets::getSurfaceSets().
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]()
Sets vertex neighbours of meshType cells to fillType.
Definition at line 615 of file cellClassification.C.
Find hanging cells (cells with all points on outside) and set their. type to fillType. Iterate until nothing changed. Returns total number of cells changed (in all iterations) Definition at line 672 of file cellClassification.C.
Find regionEdges and fill one neighbour. Iterate until nothing. changes. Returns total number of cells changed. Definition at line 729 of file cellClassification.C.
Find regionPoints and fill all neighbours. Iterate until nothing. changes. Returns total number of cells changed. Definition at line 798 of file cellClassification.C.
Definition at line 886 of file cellClassification.C.
The documentation for this class was generated from the following files:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||