public static SPINThreadFunctions register(Model model){
  SPINThreadFunctions old=localFunctions.get();
  SPINThreadFunctions neo=new SPINThreadFunctions(model);
  localFunctions.set(neo);
  return old;
}

public static SPINThreadFunctions register ( Model model ) { SPINThreadFunctions old = localFunctions . get ( ) ; SPINThreadFunctions neo = new SPINThreadFunctions ( model ) ; localFunctions . set ( neo ) ; return old ; }
registers a set of extra spin functions from a given model for the current thread .
