Each argument of a C user function which has been initially registered with ucfunc is requested with a call in uclib to ucarg:
ucarg(void *func, char *type, char *variable, int size);
func: a pointer to the user function.
type: a character string giving the type of the argument, either of the following:
variable: a character string naming the requested argument, which must be a valid STAR-CCM+ variable.
size: the storage in bytes required for one element of the variable array. This is used to ensure that the precision of the user function matches the precision of STAR-CCM+. Examples are:
The Real and CoordReal types define the precision of floating-point variables in Real.h.
Calls to ucarg must be made in the order the arguments are required by the user function.