OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

edgeVertex Class Reference

Inheritance diagram for edgeVertex:

Inheritance graph
[legend]
Collaboration diagram for edgeVertex:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 61 of file edgeVertex.H.


Public Member Functions

 edgeVertex (const polyMesh &mesh)
 Construct from mesh.
const polyMesh & mesh () const
bool isEdge (const label eVert) const
label getEdge (const label eVert) const
label getVertex (const label eVert) const
label vertToEVert (const label vertI) const
label edgeToEVert (const label edgeI) const
point coord (const label cut, const scalar weight) const
label cutPairToEdge (const label cut0, const label cut1) const
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.

Static Public Member Functions

static void updateLabels (const labelList &map, List< refineCell > &)
 Update refine list from map. Used to update cell/face labels.
static void updateLabels (const labelList &map, Map< label > &)
 Update map from map. Used to update cell/face labels.
static void updateLabels (const labelList &map, labelHashSet &)
 Update map from map. Used to update cell/face labels.
static bool isEdge (const primitiveMesh &mesh, const label eVert)
 is eVert an edge?
static label getEdge (const primitiveMesh &mesh, const label eVert)
 convert eVert to edge label
static label getVertex (const primitiveMesh &mesh, const label eVert)
 convert eVert to vertex label
static label vertToEVert (const primitiveMesh &mesh, const label vertI)
 Convert pointI to eVert.
static label edgeToEVert (const primitiveMesh &mesh, const label edgeI)
 Convert edgeI to eVert.
static point coord (const primitiveMesh &, const label cut, const scalar weight)
 Return coordinate of cut (uses weight if edgeCut).
static label cutPairToEdge (const primitiveMesh &, const label cut0, const label cut1)
 Find mesh edge (or -1) between two cuts.

Constructor & Destructor Documentation

edgeVertex ( const polyMesh &  mesh  )  [inline]

Construct from mesh.

Definition at line 107 of file edgeVertex.H.

References FatalErrorIn, edgeVertex::mesh(), primitiveMesh::nEdges(), and primitiveMesh::nPoints().

Here is the call graph for this function:


Member Function Documentation

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

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

after morphing

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

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

after morphing

static void updateLabels ( const labelList &  map,
labelHashSet &   
) [static]

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

after morphing

const polyMesh& mesh (  )  const [inline]

Definition at line 115 of file edgeVertex.H.

Referenced by edgeVertex::edgeVertex().

Here is the caller graph for this function:

static bool isEdge ( const primitiveMesh &  mesh,
const label  eVert 
) [inline, static]

is eVert an edge?

Definition at line 124 of file edgeVertex.H.

bool isEdge ( const label  eVert  )  const [inline]

Definition at line 139 of file edgeVertex.H.

static label getEdge ( const primitiveMesh &  mesh,
const label  eVert 
) [inline, static]

convert eVert to edge label

Definition at line 145 of file edgeVertex.H.

label getEdge ( const label  eVert  )  const [inline]

Definition at line 157 of file edgeVertex.H.

static label getVertex ( const primitiveMesh &  mesh,
const label  eVert 
) [inline, static]

convert eVert to vertex label

Definition at line 163 of file edgeVertex.H.

label getVertex ( const label  eVert  )  const [inline]

Definition at line 175 of file edgeVertex.H.

static label vertToEVert ( const primitiveMesh &  mesh,
const label  vertI 
) [inline, static]

Convert pointI to eVert.

Definition at line 181 of file edgeVertex.H.

label vertToEVert ( const label  vertI  )  const [inline]

Definition at line 193 of file edgeVertex.H.

static label edgeToEVert ( const primitiveMesh &  mesh,
const label  edgeI 
) [inline, static]

Convert edgeI to eVert.

Definition at line 199 of file edgeVertex.H.

label edgeToEVert ( const label  edgeI  )  const [inline]

Definition at line 211 of file edgeVertex.H.

static point coord ( const primitiveMesh &  ,
const label  cut,
const scalar  weight 
) [static]

Return coordinate of cut (uses weight if edgeCut).

point coord ( const label  cut,
const scalar  weight 
) const [inline]

Definition at line 223 of file edgeVertex.H.

static label cutPairToEdge ( const primitiveMesh &  ,
const label  cut0,
const label  cut1 
) [static]

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

label cutPairToEdge ( const label  cut0,
const label  cut1 
) const [inline]

Definition at line 235 of file edgeVertex.H.

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: Copyright © 2000-2007 OpenCFD Ltd