1 #include <../../nrnconf.h> 45 #define nt_t nrn_threads->_t 71 Printf(
"fsyn(%d)\n/* section fsyn( #, loc, delay(ms), tau(ms), conduct(uS), erev(mV)) */\n",
maxstim);
73 Printf(
"%-15s fsyn(%2d,%4g,%10g,%8g,%14g,%9g)\n",
82 if (x > 0.0 && x < 10.0) {
83 return x *
exp(-x + 1.0);
92 if ((g = pstim[i].
mag_seg) == 0.0) {
134 i =
chkarg(1, 0., 10000.);
153 for (i = 0; i <
maxstim; i++) {
174 free((
char *) pstim);
199 for (i = 0; i <
maxstim; i++) {
207 for (i = 0; i <
maxstim; i++) {
218 for (i = 0; i <
maxstim; i++) {
void activsynapse_rhs(void)
static double alpha(double x)
static void free_syn(void)
const char * secname(Section *sec)
void hoc_execerror(const char *, const char *)
char * emalloc(unsigned n)
static double stimulus(int i)
void section_ref(Section *)
void synapse_prepare(void)
Node * node_ptr(Section *sec, double x, double *parea)
void section_unref(Section *)
Section * chk_access(void)
double chkarg(int, double low, double high)
static void stim_record(int)