SwimCondition Class Reference

#include <SwimCondition.h>

Inheritance diagram for SwimCondition:
SwimMomentumCondition SwimZCondition

List of all members.

Public Member Functions

virtual ~SwimCondition ()
virtual bool Satisfied (const SwimParticle &particle)=0
virtual double StepSize (const SwimParticle &)

Detailed Description

Definition at line 17 of file SwimCondition.h.


Constructor & Destructor Documentation

virtual SwimCondition::~SwimCondition (  )  [inline, virtual]

Definition at line 20 of file SwimCondition.h.

00020 {;}


Member Function Documentation

virtual bool SwimCondition::Satisfied ( const SwimParticle particle  )  [pure virtual]

Implemented in SwimMomentumCondition, and SwimZCondition.

Referenced by SwimSwimmer::Swim().

virtual double SwimCondition::StepSize ( const SwimParticle  )  [inline, virtual]

Reimplemented in SwimZCondition.

Definition at line 22 of file SwimCondition.h.

References Munits::m.

Referenced by SwimSwimmer::Swim().

00022                                                               {
00023     return 0.0254*Munits::m;  // 1 inch
00024   }


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1