00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef _CPLX_ENZ_BASE_H
00011 #define _CPLX_ENZ_BASE_H
00012
00018 class CplxEnzBase: public EnzBase
00019 {
00020 public:
00021 CplxEnzBase();
00022 virtual ~CplxEnzBase();
00023
00025
00027 void setK1( const Eref& e, double v );
00028 double getK1( const Eref& e ) const;
00029 void setK2( const Eref& e, double v );
00030 double getK2( const Eref& e ) const;
00031
00032
00033 void setRatio( const Eref& e, double v );
00034 double getRatio( const Eref& e ) const;
00035 void setConcK1( const Eref& e, double v );
00036 double getConcK1( const Eref& e ) const;
00037
00039
00041 virtual void vSetK1( const Eref& e, double v ) = 0;
00042 virtual double vGetK1( const Eref& e ) const = 0;
00043 virtual void vSetK2( const Eref& e, double v ) = 0;
00044 virtual double vGetK2( const Eref& e ) const = 0;
00045 virtual void vSetRatio( const Eref& e, double v ) = 0;
00046 virtual double vGetRatio( const Eref& e ) const = 0;
00047 virtual void vSetConcK1( const Eref& e, double v ) = 0;
00048 virtual double vGetConcK1( const Eref& e ) const = 0;
00050
00052 void cplx( double n );
00054
00056 virtual void vCplx( double n );
00057
00059
00061 static void zombify( Element* original, const Cinfo* zClass,
00062 Id solver );
00063
00064 static const Cinfo* initCinfo();
00065 private:
00066 };
00067
00068 #endif // CPLX_ENZ_BASE_H