1 #include <../../nrnconf.h> 47 #define nt_t nrn_threads->_t 54 Printf(
"fstim(%d)\n/* section fstim( #, loc, delay(ms), duration(ms), magnitude(namp)) */\n",
maxstim);
56 Printf(
"%-15s fstim(%2d,%4g,%10g,%13g,%16g)\n",
67 if (
nt_t < pstim[i].delay - 1
e-9
68 ||
nt_t > pstim[i].delay + pstim[i].duration - 1
e-9) {
109 for (i = 0; i <
maxstim; i++) {
129 free((
char *) pstim);
154 for (i = 0; i <
maxstim; i++) {
162 for (i = 0; i <
maxstim; i++) {
static void stim_record(int)
static void free_stim(void)
const char * secname(Section *sec)
void hoc_execerror(const char *, const char *)
char * emalloc(unsigned n)
void section_ref(Section *)
static double stimulus(int i)
Node * node_ptr(Section *sec, double x, double *parea)
void section_unref(Section *)
Section * chk_access(void)
double chkarg(int, double low, double high)