1 #include <../../nrnconf.h>
44 #define nt_t nrn_threads->_t
71 Printf(
"fsyn(%d)\n/* section fsyn( #, loc, delay(ms), tau(ms), conduct(uS), erev(mV)) */\n",
74 Printf(
"%-15s fsyn(%2d,%4g,%10g,%8g,%14g,%9g)\n",
86 if (x > 0.0 && x < 10.0) {
87 return x *
exp(-x + 1.0);
96 if ((g =
pstim[
i].mag_seg) == 0.0) {
const char * secname(Section *sec)
name of section (for use in error messages)
Node * node_ptr(Section *sec, double x, double *parea)
double chkarg(int, double low, double high)
void hoc_retpushx(double x)
void hoc_execerror(const char *s1, const char *s2)
static void * emalloc(size_t size)
void section_ref(Section *)
void section_unref(Section *)
void activsynapse_rhs(void)
static void stim_record(int)
static double alpha(double x)
static void free_syn(void)
void synapse_prepare(void)
static double stimulus(int i)
int Printf(const char *fmt, Args... args)