MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
AdThreshIF.h
Go to the documentation of this file.
1 /**********************************************************************
2 ** This program is part of 'MOOSE', the
3 ** Messaging Object Oriented Simulation Environment,
4 ** also known as GENESIS 3 base code.
5 ** copyright (C) 2003-2006 Upinder S. Bhalla. and NCBS
6 ** It is made available under the terms of the
7 ** GNU Lesser General Public License version 2.1
8 ** See the file COPYING.LIB for the full notice.
9 **********************************************************************/
10 
11 #ifndef _AdThreshIF_H
12 #define _AdThreshIF_H
13 
14 namespace moose
15 {
19 class AdThreshIF: public IntFireBase
20 {
21  public:
22  AdThreshIF();
23  virtual ~AdThreshIF();
24 
25  void setThreshAdaptive( const Eref& e, double val );
26  double getThreshAdaptive( const Eref& e ) const;
27  void setTauThresh( const Eref& e, double val );
28  double getTauThresh( const Eref& e ) const;
29  void setA0( const Eref& e, double val );
30  double getA0( const Eref& e ) const;
31  void setThreshJump( const Eref& e, double val );
32  double getThreshJump( const Eref& e ) const;
33 
38  void vProcess( const Eref& e, ProcPtr p );
39 
43  void vReinit( const Eref& e, ProcPtr p );
44 
48  static const Cinfo* initCinfo();
49 
50  private:
52  double tauThresh_;
53  double a0_;
54  double threshJump_;
55 };
56 }
57 
58 #endif // _AdThreshIF_H
double getA0(const Eref &e) const
Definition: AdThreshIF.cpp:168
void setA0(const Eref &e, double val)
Definition: AdThreshIF.cpp:163
double threshAdaptive_
Definition: AdThreshIF.h:51
void vReinit(const Eref &e, ProcPtr p)
Definition: AdThreshIF.cpp:134
double threshJump_
Definition: AdThreshIF.h:54
double getTauThresh(const Eref &e) const
Definition: AdThreshIF.cpp:158
void setTauThresh(const Eref &e, double val)
Definition: AdThreshIF.cpp:153
void setThreshAdaptive(const Eref &e, double val)
Definition: AdThreshIF.cpp:143
double getThreshJump(const Eref &e) const
Definition: AdThreshIF.cpp:178
double getThreshAdaptive(const Eref &e) const
Definition: AdThreshIF.cpp:148
virtual ~AdThreshIF()
Definition: AdThreshIF.cpp:95
Definition: Eref.h:26
static const Cinfo * initCinfo()
Definition: AdThreshIF.cpp:19
Definition: Cinfo.h:18
void setThreshJump(const Eref &e, double val)
Definition: AdThreshIF.cpp:173
void vProcess(const Eref &e, ProcPtr p)
Definition: AdThreshIF.cpp:102