ufpGetNumUsrStrs()
Return the number of user strings supplied in the input file.
Syntax
nUsrStrs = ufpGetNumUsrStrs ( ufpHd ) ;
Type
AcuSolve User-Defined Function Basic Routine
Parameters
- ufpHd (pointer)
- The opaque handle which was passed to the user function.
Return Value
The return value is the number of user strings given in the input file.
Description
This routine returns the number of user strings supplied in the input file. For
example,
Integer nUsrStrs ;
...
nUsrStrs = ufpGetNumStrs( ufpHd ) ;
if ( nUsrStrs != 2 ) {
printf( "Invalid number of user strings %d\n", nUsrStrs ) ;
exit(0);
}
Errors
This routine expects a valid ufpHd.