udfGetUsrHandle()

Return the handle (pointer) to previously saved user data.

Syntax

usrHandle = udfGetUsrHandle( udfHd, name ) ;

Type

AcuSolve User-Defined Function Basic

Parameters

udfHd
The opaque handle (pointer) which was passed to the user function.
name (Void*)
Name of the user data.

Return Value

usrHandle (real)
Pointer to user data.

Description

This routine returns the previously saved pointer to the specified user data. If the data is not found, then NULL is returned. For example,
VtkAcuSolve *vtkHd ;
...
vtkHd = udfGetUsrHandle ( udfHd, "VTK" ) ;

Errors

This routine expects a valid udfHd