CombinedRoughness.h

Go to the documentation of this file.
00001 #ifndef _CCOMBINEDROUGHNESS_H_
00002 #define _CCOMBINEDROUGHNESS_H_
00003 #include "GeneralObjective.h"
00004 
00005 namespace gplib
00006   {
00007     //! CombinedRoughness calculates the roughness of a joint MT- receiver functions model without consideration for different parameter ranges
00008     class CombinedRoughness: public GeneralObjective
00009       {
00010     private:
00011       double refcond;
00012       double refvel;
00013     public:
00014       //! Clone the object
00015       virtual CombinedRoughness *clone() const
00016         {
00017           return new CombinedRoughness(*this);
00018         }
00019       //! Set reference conductivity for roughness calculation, changes weighting between velocity and conductivity
00020       void SetRefCond(const double cond)
00021         {
00022           refcond = cond;
00023         }
00024       //! Set reference velcoity for roughness calculation, changes weighting between velocity and conductivity
00025       void SetRefVel(const double vel)
00026         {
00027           refvel = vel;
00028         }
00029       virtual void SafeParallel(const ttranscribed &member);
00030       virtual double PostParallel(const ttranscribed &member);
00031       CombinedRoughness(const CombinedRoughness &Old);
00032       CombinedRoughness& operator=(const CombinedRoughness& source);
00033       CombinedRoughness();
00034       virtual ~CombinedRoughness();
00035       };
00036   }
00037 #endif /*_CCOMBINEDROUGHNESS_H_*/

Generated on Tue Nov 3 13:24:13 2009 for GPLIB++ by  doxygen 1.5.8