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

pointData Class Reference

Holds information regarding nearest wall point. Used in pointEdgeWave. (so not standard meshWave). More...

Collaboration diagram for pointData:

List of all members.


Public Member Functions

 pointData ()
 Construct null.
 pointData (const point &origin, const scalar distSqr, const scalar s, const vector &v)
 Construct from origin, distance.
 pointData (const pointData &)
 Construct as copy.
const pointorigin () const
scalar distSqr () const
scalar s () const
const vectorv () const
bool valid () const
 Check whether origin has been changed at all or.
bool sameGeometry (const pointData &, const scalar tol) const
 Check for identical geometrical data. Used for cyclics checking.
void leaveDomain (const polyPatch &patch, const label patchPointI, const point &pos)
 Convert origin to relative vector to leaving point.
void enterDomain (const polyPatch &patch, const label patchPointI, const point &pos)
 Convert relative origin to absolute by adding entering point.
void transform (const tensor &rotTensor)
 Apply rotation matrix to origin.
bool updatePoint (const polyMesh &mesh, const label pointI, const label edgeI, const pointData &edgeInfo, const scalar tol)
 Influence of edge on point.
bool updatePoint (const polyMesh &mesh, const label pointI, const pointData &newPointInfo, const scalar tol)
 Influence of different value on same point.
bool updatePoint (const pointData &newPointInfo, const scalar tol)
 Influence of different value on same point.
bool updateEdge (const polyMesh &mesh, const label edgeI, const label pointI, const pointData &pointInfo, const scalar tol)
 Influence of point on edge.
bool operator== (const pointData &) const
bool operator!= (const pointData &) const

Friends

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

Detailed Description

Holds information regarding nearest wall point. Used in pointEdgeWave. (so not standard meshWave).

To be used in wall distance calculation.

Source files

Definition at line 55 of file pointData.H.


Constructor & Destructor Documentation

pointData (  )  [inline]

Construct null.

Definition at line 130 of file pointDataI.H.

pointData ( const point origin,
const scalar  distSqr,
const scalar  s,
const vector v 
) [inline]

Construct from origin, distance.

Definition at line 141 of file pointDataI.H.

pointData ( const pointData wpt  )  [inline]

Construct as copy.

Definition at line 156 of file pointDataI.H.


Member Function Documentation

const Foam::point & origin (  )  const [inline]

Definition at line 167 of file pointDataI.H.

Referenced by pointData::operator!=().

Here is the caller graph for this function:

Foam::scalar distSqr (  )  const [inline]

Definition at line 173 of file pointDataI.H.

Foam::scalar s (  )  const [inline]

Definition at line 179 of file pointDataI.H.

const Foam::vector & v (  )  const [inline]

Definition at line 185 of file pointDataI.H.

bool valid (  )  const [inline]

Check whether origin has been changed at all or.

still contains original (invalid) value.

Definition at line 191 of file pointDataI.H.

bool sameGeometry ( const pointData w2,
const scalar  tol 
) const [inline]

Check for identical geometrical data. Used for cyclics checking.

Definition at line 199 of file pointDataI.H.

References wallPoint::greatPoint.

void leaveDomain ( const polyPatch patch,
const label  patchPointI,
const point pos 
) [inline]

Convert origin to relative vector to leaving point.

(= point coordinate)

Definition at line 225 of file pointDataI.H.

void enterDomain ( const polyPatch patch,
const label  patchPointI,
const point pos 
) [inline]

Convert relative origin to absolute by adding entering point.

Definition at line 244 of file pointDataI.H.

References pointData::transform().

Here is the call graph for this function:

void transform ( const tensor rotTensor  )  [inline]

Apply rotation matrix to origin.

Definition at line 235 of file pointDataI.H.

Referenced by pointData::enterDomain().

Here is the caller graph for this function:

bool updatePoint ( const polyMesh mesh,
const label  pointI,
const label  edgeI,
const pointData edgeInfo,
const scalar  tol 
) [inline]

Influence of edge on point.

Definition at line 257 of file pointDataI.H.

bool updatePoint ( const polyMesh mesh,
const label  pointI,
const pointData newPointInfo,
const scalar  tol 
) [inline]

Influence of different value on same point.

Merge new and old info.

Definition at line 277 of file pointDataI.H.

bool updatePoint ( const pointData newPointInfo,
const scalar  tol 
) [inline]

Influence of different value on same point.

No information about current position whatsoever.

Definition at line 296 of file pointDataI.H.

bool updateEdge ( const polyMesh mesh,
const label  edgeI,
const label  pointI,
const pointData pointInfo,
const scalar  tol 
) [inline]

Influence of point on edge.

Definition at line 307 of file pointDataI.H.

bool operator== ( const pointData rhs  )  const [inline]

Definition at line 333 of file pointDataI.H.

bool operator!= ( const pointData rhs  )  const [inline]

Definition at line 339 of file pointDataI.H.

References pointData::origin().

Here is the call graph for this function:


Friends And Related Function Documentation

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

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


The documentation for this class was generated from the following files:
  • src/autoMesh/autoHexMesh/autoHexMeshDriver/pointData/pointData.H
  • src/autoMesh/autoHexMesh/autoHexMeshDriver/pointData/pointDataI.H
Copyright © 2000-2009 OpenCFD Ltd