#include <SwimMomentumCondition.h>
Inheritance diagram for SwimMomentumCondition:

Public Member Functions | |
| SwimMomentumCondition () | |
| virtual | ~SwimMomentumCondition () |
| SwimMomentumCondition (double pThreshold) | |
| virtual bool | Satisfied (const SwimParticle &particle) |
Private Attributes | |
| double | fPThreshold |
|
|
Definition at line 21 of file SwimMomentumCondition.h. 00021 {;}
|
|
|
Definition at line 22 of file SwimMomentumCondition.h. 00022 {;}
|
|
|
Definition at line 14 of file SwimMomentumCondition.cxx. 00014 : 00015 fPThreshold(pThreshold) 00016 {}
|
|
|
Implements SwimCondition. Definition at line 20 of file SwimMomentumCondition.cxx. References SwimParticle::GetMomentumModulus(). 00021 {
00022 if (particle.GetMomentumModulus() <= fPThreshold)
00023 return true;
00024 return false;
00025 }
|
|
|
Definition at line 28 of file SwimMomentumCondition.h. |
1.3.9.1