The initial registration of a C user function is made with a call in uclib to ucfunc:
ucfunc(void *func, char *type, char *name);
func: a pointer to the user function.
type: a character string giving the type of the user function, one of the following:
name: a character string giving the name with which the function will be shown in drop-down lists in STAR-CCM+.
The arguments that the user function requires are registered by calling ucarg.