16 "Sends out increment to molecules on inside of membrane"
24 "Sends out increment to molecules on outside of membrane"
36 "Permability, in units of vol/(#s) i.e., 1/(numconc.s) "
37 "Flux (#/s) = permeability * N * (#out/vol_out - #in/vol_in)",
43 "numChan is the number of molecules of the channel.",
49 "Flux of molecules through channel, in units of #/s ",
57 "Handles process call",
60 "Handles reinit call",
68 "Handles # of molecules of pool inside membrane",
71 "Handles # of molecules of pool outside membrane",
73 static Finfo* inShared[] = {
76 static Finfo* outShared[] = {
80 "Connects to pool on inside",
81 inShared,
sizeof( inShared ) /
sizeof(
const Finfo* )
84 "Connects to pool on outside",
85 outShared,
sizeof( outShared ) /
sizeof(
const Finfo* )
87 static Finfo* procShared[] = {
91 "Shared message for process and reinit",
92 procShared,
sizeof( procShared ) /
sizeof(
const Finfo* )
96 static Finfo* concChanFinfos[] = {
105 static string doc[] =
108 "Author",
"Upinder S. Bhalla, 2018, NCBS",
109 "Description",
"Channel for molecular flow between cellular "
110 "compartments. Need not be ions, and the flux is not a current, "
111 "but number of molecules/sec. ",
119 sizeof( concChanFinfos ) /
sizeof (
Finfo* ),
122 sizeof( doc ) /
sizeof(
string )
136 : permeability_( 0.1 ),
double getPermeability() const
void setNumChan(double v)
static SrcFinfo2< double, double > * inPoolOut()
double flux(double inConc, double outConc, double dt)
void outPool(double conc)
double flux_
Number of molecules of channel.
void process(const Eref &e, ProcPtr p)
void setPermeability(double v)
static const Cinfo * initCinfo()
static SrcFinfo2< double, double > * outPoolOut()
static const Cinfo * concChanCinfo
static const Cinfo * initCinfo()
void reinit(const Eref &e, ProcPtr p)
double n_
permeability in vol/(#.s) units.
double getNumChan() const