Example #1
0
static void* vmin(NrnThread* nt) {
  realtype min;
  int i = nt->id;
  if (NV_LENGTH_S(xarg(i))) {
	  min = N_VMin_Serial(xarg(i));
	  lockmin(min);
}
  return (void*)0;
}
double N_VMin(N_Vector x)
{
  return((double) N_VMin_Serial(x));
}