Ejemplo n.º 1
0
void stop_praxis(void) {
	int i = 1;
	if (ifarg(1)) {
		i = (int)chkarg(1, 0., 1e5);
	}
	i = praxis_stop(i);
	hoc_retpushx((double)i);
}
Ejemplo n.º 2
0
static void _hoc_BorgMod_tau(void) {
  double _r;
   double* _p; Datum* _ppvar; Datum* _thread; _NrnThread* _nt;
   if (_extcall_prop) {_p = _extcall_prop->param; _ppvar = _extcall_prop->dparam;}else{ _p = (double*)0; _ppvar = (Datum*)0; }
  _thread = _extcall_thread;
  _nt = nrn_threads;
 _r =  BorgMod_tau ( _p, _ppvar, _thread, _nt, *getarg(1) , *getarg(2) , *getarg(3) , *getarg(4) , *getarg(5) , *getarg(6) , *getarg(7) , *getarg(8) );
 hoc_retpushx(_r);
}
Ejemplo n.º 3
0
static void _hoc_betl(void) {
  double _r;
   double* _p; Datum* _ppvar; Datum* _thread; _NrnThread* _nt;
   if (_extcall_prop) {_p = _extcall_prop->param; _ppvar = _extcall_prop->dparam;}else{ _p = (double*)0; _ppvar = (Datum*)0; }
  _thread = _extcall_thread;
  _nt = nrn_threads;
 _r =  betl ( _p, _ppvar, _thread, _nt, *getarg(1) );
 hoc_retpushx(_r);
}
Ejemplo n.º 4
0
static void _hoc_rates(void) {
  double _r;
   double* _p; Datum* _ppvar; Datum* _thread; _NrnThread* _nt;
   if (_extcall_prop) {_p = _extcall_prop->param; _ppvar = _extcall_prop->dparam;}else{ _p = (double*)0; _ppvar = (Datum*)0; }
  _thread = _extcall_thread;
  _nt = nrn_threads;
 
#if 1
 _check_rates(_p, _ppvar, _thread, _nt);
#endif
 _r = 1.;
 rates ( _p, _ppvar, _thread, _nt, *getarg(1) );
 hoc_retpushx(_r);
}
Ejemplo n.º 5
0
void nrnpython() {hoc_retpushx(0);}
Ejemplo n.º 6
0
void make_mechanism(){hoc_retpushx(0);}
Ejemplo n.º 7
0
void make_pointprocess(){hoc_retpushx(0);}
Ejemplo n.º 8
0
static void _hoc_ngate_adjust(void) {
  double _r;
   _r = 1.;
 ngate_adjust (  *getarg(1) , *getarg(2) , *getarg(3) );
 hoc_retpushx(_r);
}
Ejemplo n.º 9
0
static void _hoc_KTF(void) {
  double _r;
   _r =  KTF (  *getarg(1) );
 hoc_retpushx(_r);
}
Ejemplo n.º 10
0
static void _hoc_betn(void) {
  double _r;
   _r =  betn (  *getarg(1) );
 hoc_retpushx(_r);
}
Ejemplo n.º 11
0
static void _hoc_BorgMod_tau(void) {
  double _r;
   _r =  BorgMod_tau (  *getarg(1) , *getarg(2) , *getarg(3) , *getarg(4) , *getarg(5) , *getarg(6) , *getarg(7) , *getarg(8) );
 hoc_retpushx(_r);
}
Ejemplo n.º 12
0
static void _hoc_trates(void) {
  double _r;
   _r = 1.;
 trates (  *getarg(1) , *getarg(2) , *getarg(3) );
 hoc_retpushx(_r);
}
Ejemplo n.º 13
0
static void _hoc_trap0(void) {
  double _r;
   _r =  trap0 (  *getarg(1) , *getarg(2) , *getarg(3) , *getarg(4) );
 hoc_retpushx(_r);
}
static void _hoc_mhn(void) {
  double _r;
   _r = 1.;
 mhn (  *getarg(1) );
 hoc_retpushx(_r);
}
Ejemplo n.º 15
0
static void _hoc_evaluate_fct(void) {
  double _r;
   _r = 1.;
 evaluate_fct (  *getarg(1) );
 hoc_retpushx(_r);
}
static void _hoc_vartau(void) {
  double _r;
   _r =  vartau (  *getarg(1) , *getarg(2) );
 hoc_retpushx(_r);
}
static void _hoc_states(void) {
  double _r;
   _r = 1.;
 states (  );
 hoc_retpushx(_r);
}
static void _hoc_calcg(void) {
  double _r;
   _r = 1.;
 calcg (  );
 hoc_retpushx(_r);
}
Ejemplo n.º 19
0
/* stubs for nrnoc. The actual functions are for interviews menus */
void nrnallsectionmenu(){hoc_retpushx(0);}
Ejemplo n.º 20
0
void nrnsecmenu(){hoc_retpushx(0);}
Ejemplo n.º 21
0
static void _hoc_alpl(void) {
  double _r;
   _r =  alpl (  *getarg(1) );
 hoc_retpushx(_r);
}
Ejemplo n.º 22
0
static void _hoc_h2(void) {
  double _r;
   _r =  h2 (  *getarg(1) );
 hoc_retpushx(_r);
}
Ejemplo n.º 23
0
static void _hoc_rates(void) {
  double _r;
   _r = 1.;
 rates (  *getarg(1) );
 hoc_retpushx(_r);
}
Ejemplo n.º 24
0
static void _hoc_vtrap(void) {
  double _r;
   _r =  vtrap (  *getarg(1) , *getarg(2) );
 hoc_retpushx(_r);
}
Ejemplo n.º 25
0
static void _hoc_Boltz_m1(void) {
  double _r;
   _r =  Boltz_m1 (  *getarg(1) , *getarg(2) , *getarg(3) );
 hoc_retpushx(_r);
}
Ejemplo n.º 26
0
void nrnpointmenu(){hoc_retpushx(0);}
Ejemplo n.º 27
0
void nrnglobalmechmenu(){hoc_retpushx(0);}
Ejemplo n.º 28
0
static void _hoc_ghk(void) {
  double _r;
   _r =  ghk (  *getarg(1) , *getarg(2) , *getarg(3) );
 hoc_retpushx(_r);
}
Ejemplo n.º 29
0
 static void _hoc_setdata() {
 Prop *_prop, *hoc_getdata_range(int);
 _prop = hoc_getdata_range(_mechtype);
   _setdata(_prop);
 hoc_retpushx(1.);
}
Ejemplo n.º 30
0
void nrnmechmenu(){hoc_retpushx(0);}