OpenFOAM logo
Open Source CFD Toolkit

edgeVertex Class Reference

Inheritance diagram for edgeVertex:

Inheritance graph
[legend]
Collaboration diagram for edgeVertex:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 edgeVertex (const polyMesh &mesh)
 Construct from mesh.
const polyMeshmesh () const
bool isEdge (const label eVert) const
 is eVert an edge?
label getEdge (const label eVert) const
 convert eVert to edge label
label getVertex (const label eVert) const
 convert eVert to vertex label
label vertToEVert (const label vertI) const
 Convert pointI to eVert.
label edgeToEVert (const label edgeI) const
 Convert edgeI to eVert.
point coord (const label cut, const scalar weight) const
 Return coordinate of cut (uses weight if edgeCut).
label cutPairToEdge (const label cut0, const label cut1) const
 Find mesh edge (or -1) between two cuts.
OstreamwriteCut (Ostream &os, const label cut, const scalar) const
 Write cut description to Ostream.
OstreamwriteCuts (Ostream &os, const labelList &, const scalarField &) const
 Write cut descriptions to Ostream.

Static Public Member Functions

void updateLabels (const labelList &map, List< refineCell > &)
 Update refine list from map. Used to update cell/face labels.
void updateLabels (const labelList &map, Map< label > &)
 Update map from map. Used to update cell/face labels.
void updateLabels (const labelList &map, labelHashSet &)
 Update map from map. Used to update cell/face labels.

Constructor & Destructor Documentation

edgeVertex const polyMesh mesh  )  [inline]
 

Construct from mesh.

Definition at line 107 of file edgeVertex.H.

References FatalErrorIn.


Member Function Documentation

point coord const label  cut,
const scalar  weight
const
 

Return coordinate of cut (uses weight if edgeCut).

label cutPairToEdge const label  cut0,
const label  cut1
const
 

Find mesh edge (or -1) between two cuts.

label edgeToEVert const label  edgeI  )  const [inline]
 

Convert edgeI to eVert.

Definition at line 175 of file edgeVertex.H.

References Foam::label, Foam::labelList, and Foam::scalarField.

label getEdge const label  eVert  )  const [inline]
 

convert eVert to edge label

Definition at line 139 of file edgeVertex.H.

References Foam::abort(), Foam::FatalError, and FatalErrorIn.

Here is the call graph for this function:

label getVertex const label  eVert  )  const [inline]
 

convert eVert to vertex label

Definition at line 151 of file edgeVertex.H.

References Foam::abort(), Foam::FatalError, and FatalErrorIn.

Here is the call graph for this function:

bool isEdge const label  eVert  )  const [inline]
 

is eVert an edge?

Definition at line 124 of file edgeVertex.H.

References Foam::abort(), Foam::FatalError, FatalErrorIn, Foam::label, and primitiveMesh::nPoints().

Here is the call graph for this function:

const polyMesh& mesh  )  const [inline]
 

Definition at line 115 of file edgeVertex.H.

void updateLabels const labelList map,
labelHashSet
[static]
 

Update map from map. Used to update cell/face labels.

after morphing

void updateLabels const labelList map,
Map< label > & 
[static]
 

Update map from map. Used to update cell/face labels.

after morphing

void updateLabels const labelList map,
List< refineCell > & 
[static]
 

Update refine list from map. Used to update cell/face labels.

after morphing

label vertToEVert const label  vertI  )  const [inline]
 

Convert pointI to eVert.

Definition at line 163 of file edgeVertex.H.

References Foam::abort(), Foam::FatalError, and FatalErrorIn.

Here is the call graph for this function:

Ostream& writeCut Ostream os,
const label  cut,
const   scalar
const
 

Write cut description to Ostream.

Ostream& writeCuts Ostream os,
const labelList ,
const scalarField
const
 

Write cut descriptions to Ostream.


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