OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

edgeMesh Class Reference

points connected by edges. More...

Inheritance diagram for edgeMesh:
Collaboration diagram for edgeMesh:

List of all members.


Public Member Functions

 edgeMesh (const pointField &, const edgeList &)
 Construct from components.
 edgeMesh (const fileName &)
 Construct from file.
 edgeMesh (Istream &)
 Construct from Istream.
 edgeMesh (const edgeMesh &)
 Construct as copy.
const pointField & points () const
const edgeList & edges () const
const labelListList & pointEdges () const
label regions (labelList &edgeRegion) const
 Find connected regions. Set region number per edge.
void mergePoints (const scalar mergeDist)
 Merge common points (points within mergeDist).
void operator= (const edgeMesh &)

Friends

Ostream & operator<< (Ostream &, const edgeMesh &)
Istream & operator>> (Istream &, edgeMesh &)

Detailed Description

points connected by edges.

Source files

Definition at line 47 of file edgeMesh.H.


Constructor & Destructor Documentation

edgeMesh ( const pointField &  points,
const edgeList &  edges 
)

Construct from components.

Definition at line 72 of file edgeMesh.C.

edgeMesh ( const fileName &  fname  ) 

Construct from file.

Definition at line 25 of file edgeMeshIO.C.

References IOstream::good().

Here is the call graph for this function:

edgeMesh ( Istream &  is  ) 

Construct from Istream.

Definition at line 47 of file edgeMeshIO.C.

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

Here is the call graph for this function:

edgeMesh ( const edgeMesh &  em  ) 

Construct as copy.

Definition at line 80 of file edgeMesh.C.


Member Function Documentation

const Foam::pointField & points (  )  const [inline]

Definition at line 30 of file edgeMeshI.H.

const Foam::edgeList & edges (  )  const [inline]

Definition at line 36 of file edgeMeshI.H.

const Foam::labelListList & pointEdges (  )  const [inline]

Definition at line 42 of file edgeMeshI.H.

Foam::label regions ( labelList &  edgeRegion  )  const

Find connected regions. Set region number per edge.

Returns number of regions.

Definition at line 90 of file edgeMesh.C.

void mergePoints ( const scalar  mergeDist  ) 

Merge common points (points within mergeDist).

Definition at line 156 of file edgeMesh.C.

void operator= ( const edgeMesh &  rhs  )  [inline]

Definition at line 236 of file edgeMesh.C.


Friends And Related Function Documentation

Ostream& operator<< ( Ostream &  ,
const edgeMesh &   
) [friend]

Istream& operator>> ( Istream &  ,
edgeMesh &   
) [friend]


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd