MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Leakage Class Reference

#include <Leakage.h>

+ Inheritance diagram for Leakage:
+ Collaboration diagram for Leakage:

Public Member Functions

 Leakage ()
 
void vProcess (const Eref &e, ProcPtr p)
 
void vReinit (const Eref &e, ProcPtr p)
 
void vSetGbar (const Eref &e, double gbar)
 
 ~Leakage ()
 
- Public Member Functions inherited from ChanCommon
 ChanCommon ()
 
double getGbar () const
 Utility function to acces Gbar. More...
 
double getModulation () const
 
double getVm () const
 Utility function to access Vm. More...
 
void sendProcessMsgs (const Eref &e, const ProcPtr info)
 
void sendReinitMsgs (const Eref &e, const ProcPtr info)
 
void updateIk ()
 
double vGetEk (const Eref &e) const
 
double vGetGbar (const Eref &e) const
 
double vGetGk (const Eref &e) const
 
double vGetIk (const Eref &e) const
 
double vGetModulation (const Eref &e) const
 
void vHandleVm (double Vm)
 
void vSetEk (const Eref &e, double Ek)
 
void vSetGk (const Eref &e, double Gk)
 
void vSetIk (const Eref &e, double Ic)
 
void vSetModulation (const Eref &e, double modulation)
 
 ~ChanCommon ()
 
- Public Member Functions inherited from ChanBase
 ChanBase ()
 
double getEk (const Eref &e) const
 
double getGbar (const Eref &e) const
 
double getGk (const Eref &e) const
 
double getIk (const Eref &e) const
 
double getModulation (const Eref &e) const
 
void handleVm (double Vm)
 
void process (const Eref &e, const ProcPtr info)
 
void reinit (const Eref &e, const ProcPtr info)
 
void setEk (const Eref &e, double Ek)
 
void setGbar (const Eref &e, double Gbar)
 
void setGk (const Eref &e, double Gk)
 
void setIk (const Eref &e, double Ic)
 
void setModulation (const Eref &e, double modulation)
 
 ~ChanBase ()
 

Static Public Member Functions

static const CinfoinitCinfo ()
 
- Static Public Member Functions inherited from ChanCommon
static const CinfoinitCinfo ()
 Specify the Class Info static variable for initialization. More...
 
- Static Public Member Functions inherited from ChanBase
static SrcFinfo2< double,
double > * 
channelOut ()
 
static SrcFinfo1< double > * IkOut ()
 
static const CinfoinitCinfo ()
 Specify the Class Info static variable for initialization. More...
 
static SrcFinfo1< double > * permeability ()
 

Additional Inherited Members

- Protected Attributes inherited from ChanCommon
double Vm_
 Vm_ is input variable from compartment, used for most rates. More...
 

Detailed Description

Definition at line 52 of file Leakage.h.

Constructor & Destructor Documentation

Leakage::Leakage ( )

Definition at line 78 of file Leakage.cpp.

79 {
80  ;
81 }
Leakage::~Leakage ( )

Definition at line 83 of file Leakage.cpp.

84 {
85  ;
86 }

Member Function Documentation

const Cinfo * Leakage::initCinfo ( )
static

Definition at line 53 of file Leakage.cpp.

References ChanBase::initCinfo().

54 {
55  static string doc[] = {
56  "Name", "Leakage",
57  "Author", "Subhasis Ray, 2009, Upi Bhalla 2014 NCBS",
58  "Description", "Leakage: Passive leakage channel."
59  };
60 
61  static Dinfo< Leakage > dinfo;
62 
63  static Cinfo LeakageCinfo(
64  "Leakage",
66  0,
67  0,
68  &dinfo,
69  doc,
70  sizeof( doc ) / sizeof( string ));
71 
72  return &LeakageCinfo;
73 }
Definition: Dinfo.h:60
Definition: Cinfo.h:18
static const Cinfo * initCinfo()
Specify the Class Info static variable for initialization.
Definition: ChanBase.cpp:36

+ Here is the call graph for this function:

void Leakage::vProcess ( const Eref e,
ProcPtr  p 
)
virtual

Implements ChanBase.

Definition at line 89 of file Leakage.cpp.

References ChanCommon::sendProcessMsgs(), ChanCommon::updateIk(), ChanCommon::vGetGbar(), ChanCommon::vGetModulation(), and ChanCommon::vSetGk().

90 {
91  ChanCommon::vSetGk( e, this->vGetGbar( e ) * this->vGetModulation( e ));
92  updateIk();
93  sendProcessMsgs(e, p);
94 }
double vGetModulation(const Eref &e) const
Definition: ChanCommon.cpp:49
void updateIk()
Definition: ChanCommon.cpp:119
void vSetGk(const Eref &e, double Gk)
Definition: ChanCommon.cpp:68
double vGetGbar(const Eref &e) const
Definition: ChanCommon.cpp:39
void sendProcessMsgs(const Eref &e, const ProcPtr info)
Definition: ChanCommon.cpp:100

+ Here is the call graph for this function:

void Leakage::vReinit ( const Eref e,
ProcPtr  p 
)
virtual

Implements ChanBase.

Definition at line 96 of file Leakage.cpp.

References ChanCommon::sendReinitMsgs(), ChanCommon::updateIk(), ChanCommon::vGetGbar(), ChanCommon::vGetModulation(), and ChanCommon::vSetGk().

97 {
98  ChanCommon::vSetGk( e, this->vGetGbar( e ) * this->vGetModulation( e ));
99  updateIk();
100  sendReinitMsgs(e, p);
101 }
double vGetModulation(const Eref &e) const
Definition: ChanCommon.cpp:49
void updateIk()
Definition: ChanCommon.cpp:119
void vSetGk(const Eref &e, double Gk)
Definition: ChanCommon.cpp:68
double vGetGbar(const Eref &e) const
Definition: ChanCommon.cpp:39
void sendReinitMsgs(const Eref &e, const ProcPtr info)
Definition: ChanCommon.cpp:111

+ Here is the call graph for this function:

void Leakage::vSetGbar ( const Eref e,
double  gbar 
)
virtual

Reimplemented from ChanCommon.

Definition at line 103 of file Leakage.cpp.

References ChanCommon::vGetModulation(), ChanCommon::vSetGbar(), and ChanCommon::vSetGk().

104 {
105  ChanCommon::vSetGk( e, gbar * this->vGetModulation( e ) );
106  ChanCommon::vSetGbar( e, gbar );
107 }
double vGetModulation(const Eref &e) const
Definition: ChanCommon.cpp:49
void vSetGk(const Eref &e, double Gk)
Definition: ChanCommon.cpp:68
void vSetGbar(const Eref &e, double Gbar)
Definition: ChanCommon.cpp:34

+ Here is the call graph for this function:


The documentation for this class was generated from the following files: