Classes | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
wallPoints Class Reference

For use with FaceCellWave. Determines topological distance to starting faces. More...

Collaboration diagram for wallPoints:
Collaboration graph
[legend]

Classes

class  trackData
 

Public Member Functions

 wallPoints ()
 
 wallPoints (const UList< point > &origin, const UList< scalar > &distSqr, const UList< FixedList< label, 3 >> &surface)
 
const List< point > & origin () const
 
const List< scalar > & distSqr () const
 
const List< FixedList< label, 3 > > & surface () const
 
template<class TrackingData >
bool valid (TrackingData &td) const
 
template<class TrackingData >
bool sameGeometry (const polyMesh &, const wallPoints &, const scalar, TrackingData &td) const
 
template<class TrackingData >
void leaveDomain (const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
 
template<class TrackingData >
void enterDomain (const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
 
template<class TrackingData >
void transform (const polyMesh &, const tensor &, TrackingData &td)
 
template<class TrackingData >
bool updateCell (const polyMesh &, const label thisCelli, const label neighbourFacei, const wallPoints &neighbourInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool updateFace (const polyMesh &, const label thisFacei, const label neighbourCelli, const wallPoints &neighbourInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool updateFace (const polyMesh &, const label thisFacei, const wallPoints &neighbourInfo, const scalar tol, TrackingData &td)
 
template<class TrackingData >
bool equal (const wallPoints &, TrackingData &) const
 
bool operator== (const wallPoints &) const
 
bool operator!= (const wallPoints &) const
 

Protected Member Functions

template<class TrackingData >
bool update (const point &pt, const label index1, const wallPoints &w2, const label index2, const scalar tol, TrackingData &td)
 

Protected Attributes

DynamicList< pointorigin_
 
DynamicList< scalar > distSqr_
 
DynamicList< FixedList< label, 3 > > surface_
 

Friends

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

Detailed Description

For use with FaceCellWave. Determines topological distance to starting faces.

Source files

Definition at line 58 of file wallPoints.H.

Constructor & Destructor Documentation

◆ wallPoints() [1/2]

wallPoints ( )
inline

Definition at line 83 of file wallPointsI.H.

◆ wallPoints() [2/2]

wallPoints ( const UList< point > &  origin,
const UList< scalar > &  distSqr,
const UList< FixedList< label, 3 >> &  surface 
)
inline

Definition at line 93 of file wallPointsI.H.

Member Function Documentation

◆ update()

bool update ( const point pt,
const label  index1,
const wallPoints w2,
const label  index2,
const scalar  tol,
TrackingData &  td 
)
inlineprotected

Definition at line 28 of file wallPointsI.H.

References Foam::diff(), Foam::magSqr(), and w2.

Here is the call graph for this function:

◆ origin()

const List<point>& origin ( ) const
inline

Definition at line 133 of file wallPoints.H.

References wallPoints::origin_.

◆ distSqr()

const List<scalar>& distSqr ( ) const
inline

Definition at line 137 of file wallPoints.H.

References wallPoints::distSqr_.

◆ surface()

const List<FixedList<label, 3> >& surface ( ) const
inline

Definition at line 142 of file wallPoints.H.

References wallPoints::surface_.

◆ valid()

bool valid ( TrackingData &  td) const
inline

Definition at line 110 of file wallPointsI.H.

◆ sameGeometry()

bool sameGeometry ( const polyMesh ,
const wallPoints ,
const  scalar,
TrackingData &  td 
) const
inline

Definition at line 119 of file wallPointsI.H.

◆ leaveDomain()

void leaveDomain ( const polyMesh ,
const polyPatch patch,
const label  patchFacei,
const point faceCentre,
TrackingData &  td 
)
inline

Definition at line 133 of file wallPointsI.H.

◆ enterDomain()

void enterDomain ( const polyMesh ,
const polyPatch patch,
const label  patchFacei,
const point faceCentre,
TrackingData &  td 
)
inline

Definition at line 167 of file wallPointsI.H.

◆ transform()

void transform ( const polyMesh ,
const tensor rotTensor,
TrackingData &  td 
)
inline

Definition at line 151 of file wallPointsI.H.

References Foam::transform().

Here is the call graph for this function:

◆ updateCell()

bool updateCell ( const polyMesh mesh,
const label  thisCelli,
const label  neighbourFacei,
const wallPoints neighbourInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Definition at line 186 of file wallPointsI.H.

References primitiveMesh::cellCentres(), forAll, Foam::magSqr(), mesh, wallPoints::origin_, wallPoints::surface_, and update().

Here is the call graph for this function:

◆ updateFace() [1/2]

bool updateFace ( const polyMesh mesh,
const label  thisFacei,
const label  neighbourCelli,
const wallPoints neighbourInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Definition at line 228 of file wallPointsI.H.

References primitiveMesh::faceCentres(), forAll, Foam::magSqr(), mesh, wallPoints::origin_, wallPoints::surface_, and update().

Here is the call graph for this function:

◆ updateFace() [2/2]

bool updateFace ( const polyMesh mesh,
const label  thisFacei,
const wallPoints neighbourInfo,
const scalar  tol,
TrackingData &  td 
)
inline

Definition at line 275 of file wallPointsI.H.

References primitiveMesh::faceCentres(), forAll, Foam::magSqr(), mesh, wallPoints::origin_, wallPoints::surface_, and update().

Here is the call graph for this function:

◆ equal()

bool equal ( const wallPoints rhs,
TrackingData &  td 
) const
inline

Definition at line 320 of file wallPointsI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator==()

bool operator== ( const wallPoints rhs) const
inline

Definition at line 332 of file wallPointsI.H.

References wallPoints::distSqr_, wallPoints::origin_, and wallPoints::surface_.

◆ operator!=()

bool operator!= ( const wallPoints rhs) const
inline

Definition at line 345 of file wallPointsI.H.

Friends And Related Function Documentation

◆ operator<<

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

◆ operator>>

Istream& operator>> ( Istream ,
wallPoints  
)
friend

Member Data Documentation

◆ origin_

DynamicList<point> origin_
protected

◆ distSqr_

DynamicList<scalar> distSqr_
protected

Definition at line 85 of file wallPoints.H.

Referenced by wallPoints::distSqr(), and wallPoints::operator==().

◆ surface_

DynamicList<FixedList<label, 3> > surface_
protected

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