NEURON
singlech.cpp File Reference
#include <../../nrnconf.h>
#include <OS/list.h>
#include "nrnoc2iv.h"
#include "ndatclas.h"
#include "ivocvect.h"
#include "ocmatrix.h"
#include "classreg.h"
#include "singlech.h"
#include "membfunc.h"
#include "random1.h"
#include "NegExp.h"

Go to the source code of this file.

Classes

class  SingleChanState
 
class  SingleChanInfo
 

Macros

#define NS   3
 

Functions

double exprand (double)
 
void hoc_reg_singlechan (int, void(*)(...))
 
void _singlechan_declare (void(*)(double, double *, Datum *), int *, int)
 
void _nrn_single_react (int, int, double)
 
 declarePtrList (SingleChanInfoList, SingleChanInfo) implementPtrList(SingleChanInfoList
 
static double set_rates (void *v)
 
static double get_rates (void *v)
 
static double set_rand (void *v)
 
static double cond (void *v)
 
static double current_state (void *v)
 
static double current_cond (void *v)
 
static double state_transition (void *v)
 
static double cond_transition (void *v)
 
static double state_transitions (void *v)
 
static double cond_transitions (void *v)
 
static voidcons (Object *)
 
static void destruct (void *v)
 
void SingleChan_reg ()
 

Variables

SingleChanInfo SingleChanInfoList * infolist
 
static SingleChancurrent_chan
 
static Member_func members []
 

Macro Definition Documentation

◆ NS

#define NS   3

Definition at line 56 of file singlech.cpp.

Function Documentation

◆ _nrn_single_react()

void _nrn_single_react ( int  i,
int  j,
double  rate 
)

Definition at line 113 of file singlech.cpp.

◆ _singlechan_declare()

void _singlechan_declare ( void(*)(double, double *, Datum *)  f,
int slist,
int  n 
)

Definition at line 106 of file singlech.cpp.

◆ cond()

static double cond ( void v)
static

Definition at line 339 of file singlech.cpp.

◆ cond_transition()

static double cond_transition ( void v)
static

Definition at line 362 of file singlech.cpp.

◆ cond_transitions()

static double cond_transitions ( void v)
static

Definition at line 372 of file singlech.cpp.

◆ cons()

static void* cons ( Object )
static

Definition at line 392 of file singlech.cpp.

◆ current_cond()

static double current_cond ( void v)
static

Definition at line 354 of file singlech.cpp.

◆ current_state()

static double current_state ( void v)
static

Definition at line 347 of file singlech.cpp.

◆ declarePtrList()

declarePtrList ( SingleChanInfoList  ,
SingleChanInfo   
)

◆ destruct()

static void destruct ( void v)
static

Definition at line 402 of file singlech.cpp.

◆ exprand()

double exprand ( double  )

◆ get_rates()

static double get_rates ( void v)
static

Definition at line 324 of file singlech.cpp.

◆ hoc_reg_singlechan()

void hoc_reg_singlechan ( int  type,
void(*)(...)  f 
)

Definition at line 91 of file singlech.cpp.

◆ set_rand()

static double set_rand ( void v)
static

Definition at line 330 of file singlech.cpp.

◆ set_rates()

static double set_rates ( void v)
static

Definition at line 308 of file singlech.cpp.

◆ SingleChan_reg()

void SingleChan_reg ( )

Definition at line 407 of file singlech.cpp.

◆ state_transition()

static double state_transition ( void v)
static

Definition at line 358 of file singlech.cpp.

◆ state_transitions()

static double state_transitions ( void v)
static

Definition at line 367 of file singlech.cpp.

Variable Documentation

◆ current_chan

SingleChan* current_chan
static

Definition at line 54 of file singlech.cpp.

◆ infolist

SingleChanInfo SingleChanInfoList* infolist

Definition at line 53 of file singlech.cpp.

◆ members

Member_func members[]
static
Initial value:
= {
"state_transition", state_transition,
"cond_transition", cond_transition,
"set_rates", set_rates,
"get_rates", get_rates,
"cond", cond,
"current_state", current_state,
"current_cond", current_cond,
"state_transitions", state_transitions,
"cond_transitions", cond_transitions,
"set_rand", set_rand,
0, 0
}
static double set_rand(void *v)
Definition: singlech.cpp:330
static double cond(void *v)
Definition: singlech.cpp:339
static double cond_transition(void *v)
Definition: singlech.cpp:362
static double state_transition(void *v)
Definition: singlech.cpp:358
static double cond_transitions(void *v)
Definition: singlech.cpp:372
static double get_rates(void *v)
Definition: singlech.cpp:324
static double current_state(void *v)
Definition: singlech.cpp:347
static double current_cond(void *v)
Definition: singlech.cpp:354
static double state_transitions(void *v)
Definition: singlech.cpp:367
static double set_rates(void *v)
Definition: singlech.cpp:308

Definition at line 378 of file singlech.cpp.