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)
 
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

std::vector< SingleChanInfo * > infolist
 
static SingleChancurrent_chan
 
static Member_func members []
 

Macro Definition Documentation

◆ NS

#define NS   3

Definition at line 54 of file singlech.cpp.

Function Documentation

◆ _nrn_single_react()

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

Definition at line 111 of file singlech.cpp.

◆ _singlechan_declare()

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

Definition at line 101 of file singlech.cpp.

◆ cond()

static double cond ( void v)
static

Definition at line 337 of file singlech.cpp.

◆ cond_transition()

static double cond_transition ( void v)
static

Definition at line 360 of file singlech.cpp.

◆ cond_transitions()

static double cond_transitions ( void v)
static

Definition at line 370 of file singlech.cpp.

◆ cons()

static void* cons ( Object )
static

Definition at line 388 of file singlech.cpp.

◆ current_cond()

static double current_cond ( void v)
static

Definition at line 352 of file singlech.cpp.

◆ current_state()

static double current_state ( void v)
static

Definition at line 345 of file singlech.cpp.

◆ destruct()

static void destruct ( void v)
static

Definition at line 398 of file singlech.cpp.

◆ exprand()

double exprand ( double  )

◆ get_rates()

static double get_rates ( void v)
static

Definition at line 322 of file singlech.cpp.

◆ hoc_reg_singlechan()

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

Definition at line 89 of file singlech.cpp.

◆ set_rand()

static double set_rand ( void v)
static

Definition at line 328 of file singlech.cpp.

◆ set_rates()

static double set_rates ( void v)
static

Definition at line 305 of file singlech.cpp.

◆ SingleChan_reg()

void SingleChan_reg ( )

Definition at line 403 of file singlech.cpp.

◆ state_transition()

static double state_transition ( void v)
static

Definition at line 356 of file singlech.cpp.

◆ state_transitions()

static double state_transitions ( void v)
static

Definition at line 365 of file singlech.cpp.

Variable Documentation

◆ current_chan

SingleChan* current_chan
static

Definition at line 52 of file singlech.cpp.

◆ infolist

std::vector<SingleChanInfo*> infolist

Definition at line 51 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},
{nullptr, nullptr}}
static double current_cond(void *v)
Definition: singlech.cpp:352
static double cond_transition(void *v)
Definition: singlech.cpp:360
static double set_rand(void *v)
Definition: singlech.cpp:328
static double state_transition(void *v)
Definition: singlech.cpp:356
static double cond(void *v)
Definition: singlech.cpp:337
static double cond_transitions(void *v)
Definition: singlech.cpp:370
static double state_transitions(void *v)
Definition: singlech.cpp:365
static double get_rates(void *v)
Definition: singlech.cpp:322
static double set_rates(void *v)
Definition: singlech.cpp:305
static double current_state(void *v)
Definition: singlech.cpp:345

Definition at line 376 of file singlech.cpp.