tracking.H File Reference
Include dependency graph for tracking.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Foam::tracking
 Functions for tracking locations through a mesh.
 
 Foam
 Namespace for OpenFOAM.
 

Functions

point position (const polyMesh &mesh, const barycentric &coordinates, const label celli, const label facei, const label faceTrii, const scalar stepFraction)
 Return the position given the coordinates and tet topology. More...
 
barycentric coordinates (const polyMesh &mesh, const point &position, const label celli, const label facei, const label faceTrii, const scalar stepFraction)
 Return the coordinates given the position and tet topology. More...
 
Pair< vector > faceNormalAndDisplacement (const polyMesh &mesh, const barycentric &coordinates, const label celli, const label facei, const label faceTrii, const scalar stepFraction)
 Return the normal of the corresponding point on the associated face and. More...
 
template<class Displacement >
Tuple2< bool, scalar > toFace (const polyMesh &mesh, const Displacement &displacement, const scalar fraction, barycentric &coordinates, label &celli, label &facei, label &faceTrii, scalar &stepFraction, scalar &stepFractionBehind, label &nTracksBehind, const string &debugPrefix=NullObjectRef< string >())
 Track along the displacement for a given fraction of the overall. More...
 
template<class Displacement >
Tuple2< bool, scalar > toCell (const polyMesh &mesh, const Displacement &displacement, const scalar fraction, barycentric &coordinates, label &celli, label &facei, label &faceTrii, scalar &stepFraction, scalar &stepFractionBehind, label &nTracksBehind, const string &debugPrefix=NullObjectRef< string >())
 As toFace, except that if the track ends on an internal face then this. More...
 
template<class Displacement >
Tuple2< bool, scalar > toBoundary (const polyMesh &mesh, const Displacement &displacement, const scalar fraction, barycentric &coordinates, label &celli, label &facei, label &faceTrii, scalar &stepFraction, scalar &stepFractionBehind, label &nTracksBehind, const string &debugPrefix=NullObjectRef< string >())
 As toFace, except that the track continues across multiple cells until. More...
 
bool locate (const polyMesh &mesh, const point &position, barycentric &coordinates, label &celli, label &facei, label &faceTrii, const scalar stepFraction, const string &debugPrefix=NullObjectRef< string >())
 Initialise the location at the given position. Returns whether or not a. More...
 
void crossInternalFace (const polyMesh &mesh, barycentric &coordinates, label &celli, label &facei, label &faceTrii)
 Cross an internal face. More...
 
void crossWedge (const wedgePolyPatch &inPatch, barycentric &coordinates, label &celli, label &facei, label &faceTrii, const scalar stepFraction)
 Cross a wedge patch. More...
 
void crossCyclic (const cyclicPolyPatch &inPatch, barycentric &coordinates, label &celli, label &facei, label &faceTrii)
 Cross a cyclic patch. More...
 
void inProcessor (const processorPolyPatch &inPatch, label &celli, label &facei)
 Initialise crossing of a processor patch. Breaks the topology in order. More...
 
void outProcessor (const processorPolyPatch &outPatch, barycentric &coordinates, label &celli, label &facei, label &faceTrii)
 Complete crossing of a processor patch. Restore the topology. More...
 

Detailed Description

Original source file tracking.H

Definition in file tracking.H.