NEURON
membfunc.h File Reference
#include "nrnoc_ml.h"

Go to the source code of this file.

Classes

struct  Memb_func
 
struct  BAMech
 

Macros

#define NULL_CUR   (Pfri) 0
 
#define NULL_ALLOC   (Pfri) 0
 
#define NULL_STATE   (Pfri) 0
 
#define NULL_INITIALIZE   (Pfri) 0
 
#define IMEMFAST   -2
 
#define VINDEX   -1
 
#define CABLESECTION   1
 
#define MORPHOLOGY   2
 
#define CAP   3
 
#define nrnocCONST   1
 
#define DEP   2
 
#define STATE   3 /*See init.cpp and cabvars.h for order of nrnocCONST, DEP, and STATE */
 
#define BEFORE_INITIAL   0
 
#define AFTER_INITIAL   1
 
#define BEFORE_BREAKPOINT   2
 
#define AFTER_SOLVE   3
 
#define BEFORE_STEP   4
 
#define BEFORE_AFTER_SIZE   5 /* 1 more than the previous */
 
#define NRNPOINTER
 
#define _AMBIGUOUS   5
 

Typedefs

typedef struct NrnThread NrnThread
 
typedef Datum *(* Pfrpdat) ()
 
typedef void(* Pvmi) (struct NrnThread *, Memb_list *, int)
 
typedef void(* Pvmp) (Prop *)
 
typedef int(* nrn_ode_count_t) (int)
 
typedef void(* nrn_ode_map_t) (int, double **, double **, double *, Datum *, double *, int)
 
typedef void(* nrn_ode_synonym_t) (int, double **, Datum **)
 
typedef void(* nrn_bamech_t) (Node *, double *, Datum *, Datum *, struct NrnThread *)
 
typedef struct Memb_func Memb_func
 
typedef struct BAMech BAMech
 

Functions

void hoc_register_prop_size (int type, int psize, int dpsize)
 

Variables

BAMech ** bamech_
 
Memb_funcmemb_func
 
int n_memb_func
 
int * nrn_prop_param_size_
 
int * nrn_prop_dparam_size_
 

Macro Definition Documentation

◆ _AMBIGUOUS

#define _AMBIGUOUS   5

Definition at line 100 of file membfunc.h.

◆ AFTER_INITIAL

#define AFTER_INITIAL   1

Definition at line 74 of file membfunc.h.

◆ AFTER_SOLVE

#define AFTER_SOLVE   3

Definition at line 76 of file membfunc.h.

◆ BEFORE_AFTER_SIZE

#define BEFORE_AFTER_SIZE   5 /* 1 more than the previous */

Definition at line 78 of file membfunc.h.

◆ BEFORE_BREAKPOINT

#define BEFORE_BREAKPOINT   2

Definition at line 75 of file membfunc.h.

◆ BEFORE_INITIAL

#define BEFORE_INITIAL   0

Definition at line 73 of file membfunc.h.

◆ BEFORE_STEP

#define BEFORE_STEP   4

Definition at line 77 of file membfunc.h.

◆ CABLESECTION

#define CABLESECTION   1

Definition at line 62 of file membfunc.h.

◆ CAP

#define CAP   3

Definition at line 64 of file membfunc.h.

◆ DEP

#define DEP   2

Definition at line 70 of file membfunc.h.

◆ IMEMFAST

#define IMEMFAST   -2

Definition at line 60 of file membfunc.h.

◆ MORPHOLOGY

#define MORPHOLOGY   2

Definition at line 63 of file membfunc.h.

◆ nrnocCONST

#define nrnocCONST   1

Definition at line 69 of file membfunc.h.

◆ NRNPOINTER

#define NRNPOINTER
Value:
4 /* added on to list of mechanism variables.These are \
pointers which connect variables from other mechanisms via the _ppval array. \
*/

Definition at line 97 of file membfunc.h.

◆ NULL_ALLOC

#define NULL_ALLOC   (Pfri) 0

Definition at line 27 of file membfunc.h.

◆ NULL_CUR

#define NULL_CUR   (Pfri) 0

Definition at line 26 of file membfunc.h.

◆ NULL_INITIALIZE

#define NULL_INITIALIZE   (Pfri) 0

Definition at line 29 of file membfunc.h.

◆ NULL_STATE

#define NULL_STATE   (Pfri) 0

Definition at line 28 of file membfunc.h.

◆ STATE

#define STATE   3 /*See init.cpp and cabvars.h for order of nrnocCONST, DEP, and STATE */

Definition at line 71 of file membfunc.h.

◆ VINDEX

#define VINDEX   -1

Definition at line 61 of file membfunc.h.

Typedef Documentation

◆ BAMech

typedef struct BAMech BAMech

◆ Memb_func

typedef struct Memb_func Memb_func

◆ nrn_bamech_t

typedef void(* nrn_bamech_t) (Node *, double *, Datum *, Datum *, struct NrnThread *)

Definition at line 24 of file membfunc.h.

◆ nrn_ode_count_t

typedef int(* nrn_ode_count_t) (int)

Definition at line 20 of file membfunc.h.

◆ nrn_ode_map_t

typedef void(* nrn_ode_map_t) (int, double **, double **, double *, Datum *, double *, int)

Definition at line 21 of file membfunc.h.

◆ nrn_ode_synonym_t

typedef void(* nrn_ode_synonym_t) (int, double **, Datum **)

Definition at line 22 of file membfunc.h.

◆ NrnThread

typedef struct NrnThread NrnThread

Definition at line 8 of file membfunc.h.

◆ Pfrpdat

typedef Datum*(* Pfrpdat) ()

Definition at line 17 of file membfunc.h.

◆ Pvmi

typedef void(* Pvmi) (struct NrnThread *, Memb_list *, int)

Definition at line 18 of file membfunc.h.

◆ Pvmp

typedef void(* Pvmp) (Prop *)

Definition at line 19 of file membfunc.h.

Function Documentation

◆ hoc_register_prop_size()

void hoc_register_prop_size ( int  type,
int  psize,
int  dpsize 
)

Definition at line 704 of file init.cpp.

Variable Documentation

◆ bamech_

BAMech** bamech_
extern

Definition at line 129 of file init.cpp.

◆ memb_func

Memb_func* memb_func
extern

Definition at line 123 of file init.cpp.

◆ n_memb_func

int n_memb_func
extern

Definition at line 440 of file init.cpp.

◆ nrn_prop_dparam_size_

int* nrn_prop_dparam_size_
extern

Definition at line 141 of file init.cpp.

◆ nrn_prop_param_size_

int* nrn_prop_param_size_
extern

Definition at line 140 of file init.cpp.