User Function Name Registration ucfunc (C)

This section describes the initial registration of a C user function.

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:

  • "BoundaryProfile"
  • "RegionProfile"
  • "ScalarFieldFunction"
  • "VectorFieldFunction"

name: a character string giving the name with which the function is displayed as in drop-down lists in Simcenter STAR-CCM+.

The arguments that the user function requires are registered by calling ucarg.