OpenFOAM logo
Open Source CFD Toolkit

meshEdgeCuts Class Reference

Inheritance diagram for meshEdgeCuts:

Inheritance graph
[legend]
Collaboration diagram for meshEdgeCuts:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 meshEdgeCuts (const primitiveMesh &mesh, const labelList &cells, const labelList &meshVerts, const labelList &meshEdges, const scalarField &meshEdgeWeights)
 Construct from components.
const primitiveMeshmesh () const
const labelListcells () const
const labelListmeshVerts () const
const labelListmeshEdges () const
const scalarFieldmeshEdgeWeights () const
label size () const

Static Protected Member Functions

void mark (const label elem, labelHashSet &markedElems)
 Mark element in a hashSet.
void mark (const labelList &elems, labelHashSet &markedElems)
 Mark list of elements in a hashSet.
bool crosses (const scalar isoVal, const scalar val0, const scalar val1, scalar &weight)
 Return true and set weight if linear interpolation between.

Protected Attributes

labelList cells_
 List of cells containing the cuts.
labelList meshVerts_
 Points exactly cut by cuts.
labelList meshEdges_
 List of edge labels cut.
scalarField meshEdgeWeights_
 Positions on edges.

Constructor & Destructor Documentation

meshEdgeCuts const primitiveMesh mesh,
const labelList cells,
const labelList meshVerts,
const labelList meshEdges,
const scalarField meshEdgeWeights
 

Construct from components.


Member Function Documentation

const labelList& cells  )  const [inline]
 

Definition at line 134 of file meshEdgeCuts.H.

References Foam::labelList.

bool crosses const scalar  isoVal,
const scalar  val0,
const scalar  val1,
scalar &  weight
[static, protected]
 

Return true and set weight if linear interpolation between.

val0 and val1 crosses isoVal. weight=1 if isoVal==val1

void mark const labelList elems,
labelHashSet markedElems
[static, protected]
 

Mark list of elements in a hashSet.

void mark const label  elem,
labelHashSet markedElems
[static, protected]
 

Mark element in a hashSet.

const primitiveMesh& mesh  )  const [inline]
 

Definition at line 129 of file meshEdgeCuts.H.

References Foam::labelList.

const labelList& meshEdges  )  const [inline]
 

Definition at line 144 of file meshEdgeCuts.H.

References Foam::label, and UList::size().

Here is the call graph for this function:

const scalarField& meshEdgeWeights  )  const [inline]
 

Definition at line 149 of file meshEdgeCuts.H.

const labelList& meshVerts  )  const [inline]
 

Definition at line 139 of file meshEdgeCuts.H.

References Foam::scalarField.

label size  )  const [inline]
 

Reimplemented in cellDecompCuts, and faceDecompCuts.

Definition at line 154 of file meshEdgeCuts.H.


Member Data Documentation

labelList cells_ [protected]
 

List of cells containing the cuts.

Definition at line 80 of file meshEdgeCuts.H.

labelList meshEdges_ [protected]
 

List of edge labels cut.

Definition at line 86 of file meshEdgeCuts.H.

scalarField meshEdgeWeights_ [protected]
 

Positions on edges.

Definition at line 89 of file meshEdgeCuts.H.

labelList meshVerts_ [protected]
 

Points exactly cut by cuts.

Definition at line 83 of file meshEdgeCuts.H.


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org