MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ZombieCaConc.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-2012 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 _ZOMBIE_CACONC_H
12 #define _ZOMBIE_CACONC_H
13 
18 class ZombieCaConc: public CaConcBase
19 {
20 public:
22  : CaConcBase(),
23  hsolve_( NULL ),
24  tau_( 0.0 ),
25  B_( 0.0 ),
26  thickness_( 0.0 )
27  {
28  ;
29  }
30 
32  // Message handling functions
34  void vReinit( const Eref& e, ProcPtr info );
35  void vProcess( const Eref& e, ProcPtr info );
36 
37  void vCurrent( const Eref& e, double I );
38  void vCurrentFraction( const Eref& e, double I, double fraction );
39  void vIncrease( const Eref& e, double I );
40  void vDecrease( const Eref& e, double I );
42  // Field handling functions. These are all virtual, overriding base.
44  void vSetCa( const Eref& e, double val );
45  double vGetCa( const Eref& e ) const;
46  void vSetCaBasal( const Eref& e , double val );
47  double vGetCaBasal( const Eref& e ) const;
48  void vSetTau( const Eref& e , double val );
49  double vGetTau( const Eref& e ) const;
50  void vSetB( const Eref& e , double val );
51  double vGetB( const Eref& e ) const;
52  void vSetCeiling( const Eref& e , double val );
53  double vGetCeiling( const Eref& e ) const;
54  void vSetFloor( const Eref& e , double val );
55  double vGetFloor( const Eref& e ) const;
56 
58  void vSetSolver( const Eref& e, Id hsolve );
60  static const Cinfo* initCinfo();
61 
62 private:
64 
65  double tau_;
66  double B_;
67  double thickness_;
68 };
69 
70 
71 #endif // _ZOMBIE_CACONC_H
void vIncrease(const Eref &e, double I)
void vSetSolver(const Eref &e, Id hsolve)
Used to set up the solver. Dummy for regular classes.
void vCurrentFraction(const Eref &e, double I, double fraction)
void vSetCeiling(const Eref &e, double val)
void vSetCaBasal(const Eref &e, double val)
void vSetTau(const Eref &e, double val)
void vReinit(const Eref &e, ProcPtr info)
static const Cinfo * initCinfo()
void vSetB(const Eref &e, double val)
void vSetFloor(const Eref &e, double val)
double vGetTau(const Eref &e) const
double thickness_
Definition: ZombieCaConc.h:67
HSolve * hsolve_
Definition: ZombieCaConc.h:63
void vSetCa(const Eref &e, double val)
double vGetB(const Eref &e) const
Definition: HSolve.h:16
Definition: Eref.h:26
void vDecrease(const Eref &e, double I)
double vGetCeiling(const Eref &e) const
void vCurrent(const Eref &e, double I)
Definition: Id.h:17
double vGetFloor(const Eref &e) const
double vGetCaBasal(const Eref &e) const
double vGetCa(const Eref &e) const
Definition: Cinfo.h:18
void vProcess(const Eref &e, ProcPtr info)