Namespaces | Functions | Variables
meshTools.H File Reference
Include dependency graph for meshTools.H:

Go to the source code of this file.

Namespaces

 Foam::meshTools
 Collection of static functions to do various simple mesh related things.
 
 Foam
 

Functions

bool visNormal (const vector &n, const vectorField &faceNormals, const labelList &faceLabels)
 
vectorField calcBoxPointNormals (const primitivePatch &pp)
 
vector normEdgeVec (const primitiveMesh &, const label edgeI)
 
void writeOBJ (Ostream &os, const point &pt)
 
void writeOBJ (Ostream &os, const UList< point > &pts)
 
void writeOBJ (Ostream &os, const triad &t, const point &origin)
 
void writeOBJ (Ostream &os, const point &p1, const point &p2, label &count)
 
void writeOBJ (Ostream &os, const point &p1, const point &p2)
 
void writeOBJ (Ostream &os, const treeBoundBox &bb)
 
template<class FaceType >
void writeOBJ (Ostream &os, const UList< FaceType > &faces, const UList< point > &points, const labelList &faceLabels)
 
template<class FaceType >
void writeOBJ (Ostream &os, const UList< FaceType > &faces, const UList< point > &points)
 
void writeOBJ (Ostream &os, const cellList &cells, const faceList &faces, const UList< point > &points, const labelList &cellLabels)
 
bool edgeOnCell (const primitiveMesh &mesh, const label celli, const label edgeI)
 
bool edgeOnFace (const primitiveMesh &mesh, const label facei, const label edgeI)
 
bool faceOnCell (const primitiveMesh &mesh, const label celli, const label facei)
 
label findEdge (const edgeList &edges, const labelList &candidates, const label v0, const label v1)
 
label findEdge (const primitiveMesh &mesh, const label v0, const label v1)
 
label getSharedEdge (const primitiveMesh &mesh, const label f0, const label f1)
 
label getSharedFace (const primitiveMesh &mesh, const label cell0, const label cell1)
 
void getEdgeFaces (const primitiveMesh &mesh, const label celli, const label edgeI, label &face0, label &face1)
 
label otherEdge (const primitiveMesh &mesh, const labelList &edgeLabels, const label thisEdgeI, const label thisVertI)
 
label otherFace (const primitiveMesh &mesh, const label celli, const label facei, const label edgeI)
 
label otherCell (const primitiveMesh &mesh, const label celli, const label facei)
 
label walkFace (const primitiveMesh &mesh, const label facei, const label startEdgeI, const label startVertI, const label nEdges)
 
void constrainToMeshCentre (const polyMesh &mesh, point &pt)
 
void constrainToMeshCentre (const polyMesh &mesh, pointField &pt)
 
void constrainDirection (const polyMesh &mesh, const Vector< label > &dirs, vector &d)
 
void constrainDirection (const polyMesh &mesh, const Vector< label > &dirs, vectorField &d)
 
void getParallelEdges (const primitiveMesh &mesh, const label celli, const label e0, label &e1, label &e2, label &e3)
 
vector edgeToCutDir (const primitiveMesh &mesh, const label celli, const label edgeI)
 
label cutDirToEdge (const primitiveMesh &mesh, const label celli, const vector &cutDir)
 

Variables

static const label mXmYmZ = 0
 
static const label pXmYmZ = 1
 
static const label mXpYmZ = 2
 
static const label pXpYmZ = 3
 
static const label mXmYpZ = 4
 
static const label pXmYpZ = 5
 
static const label mXpYpZ = 6
 
static const label pXpYpZ = 7
 
static const label mXmYmZMask = 1 << mXmYmZ
 
static const label pXmYmZMask = 1 << pXmYmZ
 
static const label mXpYmZMask = 1 << mXpYmZ
 
static const label pXpYmZMask = 1 << pXpYmZ
 
static const label mXmYpZMask = 1 << mXmYpZ
 
static const label pXmYpZMask = 1 << pXmYpZ
 
static const label mXpYpZMask = 1 << mXpYpZ
 
static const label pXpYpZMask = 1 << pXpYpZ
 

Detailed Description

Original source file meshTools.H

Definition in file meshTools.H.