FreeFOAM The Cross-Platform CFD Toolkit
edgeMesh Class Reference

points connected by edges. More...

#include <edgeMesh/edgeMesh.H>


Detailed Description

points connected by edges.

Source files

Definition at line 52 of file edgeMesh.H.

+ Inheritance 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 pointFieldpoints () const
const edgeListedges () const
const labelListListpointEdges () 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

Ostreamoperator<< (Ostream &, const edgeMesh &)
Istreamoperator>> (Istream &, edgeMesh &)

Constructor & Destructor Documentation

edgeMesh ( const pointField points,
const edgeList edges 
)

Construct from components.

Definition at line 80 of file edgeMesh.C.

edgeMesh ( const fileName fname)

Construct from file.

Definition at line 33 of file edgeMeshIO.C.

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

edgeMesh ( Istream is)

Construct from Istream.

Definition at line 55 of file edgeMeshIO.C.

References IOstream::check().

edgeMesh ( const edgeMesh em)

Construct as copy.

Definition at line 88 of file edgeMesh.C.


Member Function Documentation

const Foam::pointField & points ( ) const
inline

Definition at line 38 of file edgeMeshI.H.

Referenced by featureEdgeMesh::featureEdgeMesh().

const Foam::edgeList & edges ( ) const
inline

Definition at line 44 of file edgeMeshI.H.

Referenced by featureEdgeMesh::featureEdgeMesh().

const Foam::labelListList & pointEdges ( ) const
inline

Definition at line 50 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 98 of file edgeMesh.C.

References List< T >::append(), e, forAll, List< T >::setSize(), List< T >::size(), and List< T >::transfer().

void mergePoints ( const scalar  mergeDist)

Merge common points (points within mergeDist)

Definition at line 164 of file edgeMesh.C.

References e, forAll, Foam::mergePoints(), and Vector< scalar >::zero.

void operator= ( const edgeMesh rhs)
inline

Definition at line 244 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: