pointEdgeDist Class Reference

Holds information regarding nearest wall point. Used in PointEdgeWave. (so not standard FaceCellWave) To be used in wall distance calculation. More...

Classes

class  data
 Class used to pass data into container. More...
 

Public Member Functions

 pointEdgeDist ()
 Construct null. More...
 
 pointEdgeDist (const point &, const scalar)
 Construct from origin, distance. More...
 
const pointorigin () const
 
scalar distSqr () const
 
bool valid (data &td) const
 Check whether origin has been changed at all or. More...
 
void transform (const polyPatch &patch, const label patchFacei, const transformer &transform, data &td)
 Transform across an interface. More...
 
bool updatePoint (const polyMesh &mesh, const label pointi, const label edgei, const pointEdgeDist &edgeinfo, const scalar tol, data &td)
 Influence of edge on point. More...
 
bool updatePoint (const polyMesh &mesh, const label pointi, const pointEdgeDist &newPointInfo, const scalar tol, data &td)
 Influence of different value on same point. More...
 
bool updateEdge (const polyMesh &mesh, const label edgei, const label pointi, const pointEdgeDist &pointInfo, const scalar tol, data &td)
 Influence of point on edge. More...
 
bool equal (const pointEdgeDist &, data &td) const
 Equivalent to operator== with data. More...
 
bool operator== (const pointEdgeDist &) const
 
bool operator!= (const pointEdgeDist &) const
 

Friends

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

Detailed Description

Holds information regarding nearest wall point. Used in PointEdgeWave. (so not standard FaceCellWave) To be used in wall distance calculation.

Source files

Definition at line 65 of file pointEdgeDist.H.

Constructor & Destructor Documentation

◆ pointEdgeDist() [1/2]

pointEdgeDist ( )
inline

Construct null.

Definition at line 90 of file pointEdgeDistI.H.

◆ pointEdgeDist() [2/2]

pointEdgeDist ( const point origin,
const scalar  distSqr 
)
inline

Construct from origin, distance.

Definition at line 97 of file pointEdgeDistI.H.

Member Function Documentation

◆ origin()

const Foam::point & origin ( ) const
inline

Definition at line 110 of file pointEdgeDistI.H.

◆ distSqr()

Foam::scalar distSqr ( ) const
inline

Definition at line 116 of file pointEdgeDistI.H.

◆ valid()

bool valid ( data td) const
inline

Check whether origin has been changed at all or.

still contains original (invalid) value.

Definition at line 122 of file pointEdgeDistI.H.

References VectorSpace< Form, Cmpt, Ncmpts >::max.

◆ transform()

void transform ( const polyPatch patch,
const label  patchFacei,
const transformer transform,
data td 
)
inline

Transform across an interface.

Definition at line 128 of file pointEdgeDistI.H.

References Foam::transform().

Here is the call graph for this function:

◆ updatePoint() [1/2]

bool updatePoint ( const polyMesh mesh,
const label  pointi,
const label  edgei,
const pointEdgeDist edgeinfo,
const scalar  tol,
data td 
)
inline

Influence of edge on point.

Definition at line 140 of file pointEdgeDistI.H.

References pointEdgeDist::data::points.

◆ updatePoint() [2/2]

bool updatePoint ( const polyMesh mesh,
const label  pointi,
const pointEdgeDist newPointInfo,
const scalar  tol,
data td 
)
inline

Influence of different value on same point.

Merge new and old info.

Definition at line 154 of file pointEdgeDistI.H.

References pointEdgeDist::data::points.

◆ updateEdge()

bool updateEdge ( const polyMesh mesh,
const label  edgei,
const label  pointi,
const pointEdgeDist pointInfo,
const scalar  tol,
data td 
)
inline

Influence of point on edge.

Definition at line 167 of file pointEdgeDistI.H.

References Foam::e, primitiveMesh::edges(), and pointEdgeDist::data::points.

Here is the call graph for this function:

◆ equal()

bool equal ( const pointEdgeDist rhs,
data td 
) const
inline

Equivalent to operator== with data.

Definition at line 182 of file pointEdgeDistI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator==()

bool operator== ( const pointEdgeDist rhs) const
inline

Definition at line 194 of file pointEdgeDistI.H.

◆ operator!=()

bool operator!= ( const pointEdgeDist rhs) const
inline

Definition at line 204 of file pointEdgeDistI.H.

Friends And Related Function Documentation

◆ operator<<

Ostream& operator<< ( Ostream ,
const pointEdgeDist  
)
friend

◆ operator>>

Istream& operator>> ( Istream ,
pointEdgeDist  
)
friend

The documentation for this class was generated from the following files: