Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

GeoSwimZCondition.h

Go to the documentation of this file.
00001 
00002 // GeoSwimZCondition.h
00003 //
00004 // January 20, 2006  M.Ishitsuka First version for GeoSwimmer
00005 //                   ref. SwimZCondition.h
00006 //
00008 // $Id: GeoSwimZCondition.h,v 1.1 2007/10/04 07:20:01 ishi Exp $
00009 //
00010 // Stop swimming a particle when z-condition is satisfied
00011 // Units for fZFinal, zFinal: meters
00012 //
00013 // seun@huhepl.harvard.edu
00015 
00016 class GeoSwimParticle;
00017 
00018 //......................................................................
00019 
00020 class GeoSwimZCondition
00021 {
00022 public:
00023   GeoSwimZCondition();
00024   GeoSwimZCondition(double zFinal);
00025   virtual ~GeoSwimZCondition() {;}
00026 
00027   virtual bool   Satisfied(const GeoSwimParticle& particle);
00028   void   SetZFinal(double zFinal);
00029   double GetZFinal();
00030 
00031 private:
00032   double fZFinal;
00033 };
00034 

Generated on Mon Feb 15 11:06:46 2010 for loon by  doxygen 1.3.9.1