Face intersection class. More...
Public Types  
enum  triangulationMode { tmFan, tmMesh } 
typedef FixedList< point, 3 >  triPoints 
Public Member Functions  
faceAreaIntersect (const pointField &pointsA, const pointField &pointsB, const bool reverseB=false)  
Construct from components. More...  
scalar  calc (const face &faceA, const face &faceB, const vector &n, const triangulationMode &triMode) 
Return area of intersection of faceA with faceB. More...  
Static Public Member Functions  
static scalar &  tolerance () 
Fraction of local length scale to use as intersection tolerance. More...  
static void  triangulate (const face &f, const pointField &points, const triangulationMode &triMode, faceList &faceTris) 
Triangulate a face using the given triangulation mode. More...  
Static Public Attributes  
static const NamedEnum< triangulationMode, 2 >  triangulationModeNames_ 
Face intersection class.
 calculates intersection area by subdividing face into triangles and cutting
Definition at line 54 of file faceAreaIntersect.H.
Definition at line 58 of file faceAreaIntersect.H.
enum triangulationMode 
Enumerator  

tmFan  
tmMesh 
Definition at line 60 of file faceAreaIntersect.H.
faceAreaIntersect  (  const pointField &  pointsA, 
const pointField &  pointsB,  
const bool  reverseB = false 

) 
Construct from components.
Definition at line 314 of file faceAreaIntersect.C.
References faceAreaIntersect::triangulate().
Referenced by NamedEnum< compressibleField, 8 >::names().

inlinestatic 
Fraction of local length scale to use as intersection tolerance.
Definition at line 90 of file faceAreaIntersectI.H.
Referenced by faceAreaWeightAMI::minWeight().

static 
Triangulate a face using the given triangulation mode.
Definition at line 329 of file faceAreaIntersect.C.
References faceAreaIntersect::calc(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, face::nTriangles(), List< T >::resize(), and face::triangles().
Referenced by faceAreaIntersect::faceAreaIntersect(), sweptFaceAreaWeightAMI::interArea(), and AMIInterpolation::patchMagSf().
Foam::scalar calc  (  const face &  faceA, 
const face &  faceB,  
const vector &  n,  
const triangulationMode &  triMode  
) 
Return area of intersection of faceA with faceB.
Definition at line 372 of file faceAreaIntersect.C.
References forAll.
Referenced by faceAreaWeightAMI::interArea(), and faceAreaIntersect::triangulate().

static 
Definition at line 66 of file faceAreaIntersect.H.
Referenced by NamedEnum< compressibleField, 8 >::names(), and AMIInterpolation::update().