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

trackedParticle Class Reference

Particle class that marks cells it passes through. Used to mark cells visited by feature edges. Uses ExactParticle tracking class so will work on concave cells. More...

Inheritance diagram for trackedParticle:
Collaboration diagram for trackedParticle:

List of all members.


Classes

class  trackData
 Class used to pass tracking data to the trackToFace function. More...

Public Member Functions

 trackedParticle (const Cloud< trackedParticle > &c, const vector &position, const label celli, const point &end, const label level, const label i, const label j)
 Construct from components.
 trackedParticle (const Cloud< trackedParticle > &c, Istream &is, bool readFields=true)
 Construct from Istream.
autoPtr< trackedParticleclone () const
 Construct and return a clone.
pointend ()
 point to track to
labeli ()
 transported label
labelj ()
 transported label
bool move (trackData &)
 Track all particles to their end point.
bool hitPatch (const polyPatch &, trackedParticle::trackData &td, const label patchI)
 Overridable function to handle the particle hitting a patch.
bool hitPatch (const polyPatch &, int &, const label patchI)
void hitWedgePatch (const wedgePolyPatch &, trackedParticle::trackData &td)
 Overridable function to handle the particle hitting a wedge.
void hitWedgePatch (const wedgePolyPatch &, int &)
void hitSymmetryPatch (const symmetryPolyPatch &, trackedParticle::trackData &td)
 Overridable function to handle the particle hitting a.
void hitSymmetryPatch (const symmetryPolyPatch &, int &)
void hitCyclicPatch (const cyclicPolyPatch &, trackedParticle::trackData &td)
 Overridable function to handle the particle hitting a cyclic.
void hitCyclicPatch (const cyclicPolyPatch &, int &)
void hitProcessorPatch (const processorPolyPatch &, trackedParticle::trackData &td)
void hitProcessorPatch (const processorPolyPatch &, int &)
void hitWallPatch (const wallPolyPatch &, trackedParticle::trackData &td)
 Overridable function to handle the particle hitting a wallPatch.
void hitWallPatch (const wallPolyPatch &, int &)
void hitPatch (const polyPatch &, trackedParticle::trackData &td)
 Overridable function to handle the particle hitting a polyPatch.
void hitPatch (const polyPatch &, int &)

Friends

class Cloud< trackedParticle >
Ostreamoperator<< (Ostream &, const trackedParticle &)

Detailed Description

Particle class that marks cells it passes through. Used to mark cells visited by feature edges. Uses ExactParticle tracking class so will work on concave cells.

Source files

Definition at line 49 of file trackedParticle.H.


Constructor & Destructor Documentation

trackedParticle ( const Cloud< trackedParticle > &  c,
const vector position,
const label  celli,
const point end,
const label  level,
const label  i,
const label  j 
)

Construct from components.

Definition at line 24 of file trackedParticle.C.

trackedParticle ( const Cloud< trackedParticle > &  c,
Istream is,
bool  readFields = true 
)

Construct from Istream.

Definition at line 44 of file trackedParticle.C.


Member Function Documentation

autoPtr<trackedParticle> clone (  )  const [inline]

Construct and return a clone.

Reimplemented from Particle< trackedParticle >.

Definition at line 132 of file trackedParticle.H.

point& end (  )  [inline]

point to track to

Definition at line 141 of file trackedParticle.H.

label& i (  )  [inline]

transported label

Definition at line 147 of file trackedParticle.H.

label& j (  )  [inline]

transported label

Definition at line 153 of file trackedParticle.H.

bool move ( trackedParticle::trackData td  ) 

Track all particles to their end point.

Definition at line 82 of file trackedParticle.C.

bool hitPatch ( const polyPatch ,
trackedParticle::trackData td,
const label  patchI 
)

Overridable function to handle the particle hitting a patch.

Executed before other patch-hitting functions

Definition at line 110 of file trackedParticle.C.

bool hitPatch ( const polyPatch ,
int &  ,
const label  patchI 
)

Definition at line 121 of file trackedParticle.C.

void hitWedgePatch ( const wedgePolyPatch ,
trackedParticle::trackData td 
)

Overridable function to handle the particle hitting a wedge.

Definition at line 132 of file trackedParticle.C.

void hitWedgePatch ( const wedgePolyPatch ,
int &   
)

Definition at line 143 of file trackedParticle.C.

References trackData::keepParticle.

void hitSymmetryPatch ( const symmetryPolyPatch ,
trackedParticle::trackData td 
)

Overridable function to handle the particle hitting a.

symmetryPlane

Definition at line 151 of file trackedParticle.C.

void hitSymmetryPatch ( const symmetryPolyPatch ,
int &   
)

Definition at line 162 of file trackedParticle.C.

References trackData::keepParticle.

void hitCyclicPatch ( const cyclicPolyPatch ,
trackedParticle::trackData td 
)

Overridable function to handle the particle hitting a cyclic.

Definition at line 170 of file trackedParticle.C.

void hitCyclicPatch ( const cyclicPolyPatch ,
int &   
)

Definition at line 181 of file trackedParticle.C.

References trackData::keepParticle.

void hitProcessorPatch ( const processorPolyPatch ,
trackedParticle::trackData td 
)

Overridable function to handle the particle hitting a processorPatch

Definition at line 189 of file trackedParticle.C.

void hitProcessorPatch ( const processorPolyPatch ,
int &   
)

Definition at line 200 of file trackedParticle.C.

References trackData::switchProcessor.

void hitWallPatch ( const wallPolyPatch wpp,
trackedParticle::trackData td 
)

Overridable function to handle the particle hitting a wallPatch.

Definition at line 208 of file trackedParticle.C.

void hitWallPatch ( const wallPolyPatch wpp,
int &   
)

Definition at line 219 of file trackedParticle.C.

References trackData::keepParticle.

void hitPatch ( const polyPatch wpp,
trackedParticle::trackData td 
)

Overridable function to handle the particle hitting a polyPatch.

Definition at line 227 of file trackedParticle.C.

void hitPatch ( const polyPatch wpp,
int &   
)

Definition at line 238 of file trackedParticle.C.

References trackData::keepParticle.


Friends And Related Function Documentation

friend class Cloud< trackedParticle > [friend]

Definition at line 69 of file trackedParticle.H.

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


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd