|
|
|
ExactParticle< ParticleType > Class Template ReferenceSpecial version of Particle to do tracking on non-convex cells. More...
Inheritance diagram for ExactParticle< ParticleType >:
![]()
Collaboration diagram for ExactParticle< ParticleType >:
![]()
Detailed Descriptiontemplate<class ParticleType>
Special version of Particle to do tracking on non-convex cells.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ExactParticle | ( | const Cloud< ParticleType > & | cloud, | |
| const vector & | position, | |||
| const label | celli | |||
| ) | [inline] |
| ExactParticle | ( | const Cloud< ParticleType > & | cloud, | |
| Istream & | is, | |||
| bool | readFields = true | |||
| ) | [inline] |
| virtual ~ExactParticle | ( | ) | [inline, virtual] |
Definition at line 120 of file ExactParticle.H.
| Foam::label track | ( | const vector & | endPosition, | |
| TrackingData & | td | |||
| ) | [inline] |
Track particle to end of trajectory.
or until it hits the boundary. On entry 'stepFraction()' should be set to the fraction of the time-step at which the tracking starts and on exit it contains the fraction of the time-step completed. Returns the boundary face index if the track stops at the boundary, -1 otherwise.
Definition at line 25 of file ExactParticle.C.
References Particle< ParticleType >::facei_, Particle< ParticleType >::onBoundary(), Particle< ParticleType >::stepFraction_, and ExactParticle< ParticleType >::trackToFace().
Referenced by ExactParticle< ParticleType >::trackToFace().


| Foam::label track | ( | const vector & | endPosition | ) | [inline] |
Calls the templated track with dummy TrackingData.
Reimplemented from Particle< ParticleType >.
Definition at line 46 of file ExactParticle.C.
| Foam::scalar trackToFace | ( | const vector & | endPosition, | |
| TrackingData & | td | |||
| ) | [inline] |
Track particle to a given position and returns 1.0 if the.
trajectory is completed without hitting a face otherwise stops at the face and returns the fraction of the trajectory completed. on entry 'stepFraction()' should be set to the fraction of the time-step at which the tracking starts.
Definition at line 58 of file ExactParticle.C.
References ExactParticle< ParticleType >::track().
Referenced by ExactParticle< ParticleType >::track().


| Foam::scalar trackToFace | ( | const vector & | endPosition | ) | [inline] |
Calls the templated trackToFace with dummy TrackingData.
Reimplemented from Particle< ParticleType >.
Definition at line 233 of file ExactParticle.C.
friend class Cloud< ParticleType > [friend] |
| Ostream& operator | ( | Ostream & | , | |
| const ExactParticle< ParticleType > & | ||||
| ) | [friend] |