MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
RC.h
Go to the documentation of this file.
1 // RC.h ---
2 //
3 // Filename: RC.h
4 // Description:
5 // Author: subhasis ray
6 // Maintainer:
7 // Created: Wed Dec 31 15:18:22 2008 (+0530)
8 // Version:
9 // Last-Updated: Wed Feb 22 20:29:35 2012 (+0530)
10 // By: Subhasis Ray
11 // Update #: 54
12 // URL:
13 // Keywords:
14 // Compatibility:
15 //
16 //
17 
18 // Commentary:
19 //
20 //
21 //
22 //
23 
24 // Change log:
25 //
26 //
27 //
28 //
29 /**********************************************************************
30 ** This program is part of 'MOOSE', the
31 ** Messaging Object Oriented Simulation Environment,
32 ** also known as GENESIS 3 base code.
33 ** copyright (C) 2003-2008 Upinder S. Bhalla. and NCBS
34 ** It is made available under the terms of the
35 ** GNU General Public License version 2
36 ** See the file COPYING.LIB for the full notice.
37 **********************************************************************/
38 
39 // Code:
40 
41 #ifndef _RC_H
42 #define _RC_H
43 
44 #include "../basecode/header.h"
45 
46 class RC{
47  public:
48  RC();
49  void setV0(double voltage);
50  double getV0() const;
51  void setResistance(double resistance);
52  double getResistance() const;
53  void setCapacitance(double capacitance);
54  double getCapacitance() const;
55  double getState() const;
56  void setInject(double inject);
57  double getInject() const;
58  void setInjectMsg(double inject);
59  void process(const Eref& e, ProcPtr proc);
60  void reinit(const Eref& e, ProcPtr proc);
61  static const Cinfo * initCinfo();
62  private:
63  double v0_;
64  double resistance_;
65  double capacitance_;
66  double state_;
67  double inject_;
68  double msg_inject_;
69  double expTau_;
70  double dt_tau_;
71 };
72 
73 #endif
74 
75 
76 //
77 // RC.h ends here
double inject_
Definition: RC.h:67
void process(const Eref &e, ProcPtr proc)
Definition: RC.cpp:204
double resistance_
Definition: RC.h:64
double getInject() const
Definition: RC.cpp:186
void setResistance(double resistance)
Definition: RC.cpp:150
Definition: RC.h:46
void reinit(const Eref &e, ProcPtr proc)
Definition: RC.cpp:234
double getState() const
Definition: RC.cpp:174
void setInjectMsg(double inject)
Definition: RC.cpp:192
double getV0() const
Definition: RC.cpp:144
double capacitance_
Definition: RC.h:65
double getResistance() const
Definition: RC.cpp:156
double state_
Definition: RC.h:66
Definition: Eref.h:26
void setCapacitance(double capacitance)
Definition: RC.cpp:162
double expTau_
Definition: RC.h:69
double v0_
Definition: RC.h:63
double msg_inject_
Definition: RC.h:68
void setInject(double inject)
Definition: RC.cpp:180
RC()
Definition: RC.cpp:125
void setV0(double voltage)
Definition: RC.cpp:138
double getCapacitance() const
Definition: RC.cpp:168
Definition: Cinfo.h:18
double dt_tau_
Definition: RC.h:70
static const Cinfo * initCinfo()
Definition: RC.cpp:50