*SetLocalUserInterfaceDLLFlag()

Specifies the flag to control the usage of local subroutines specified by the *SetLocalUserInterfaceDLL() statement.

Syntax

*SetLocalUserInterfaceDLLFlag(varname, use_local_deriv_iface_dll, 
                                                 use_local_output_iface_dll,
                                                 use_local_update_iface_dll,
                                                 use_local_samp_iface_dll)

Arguments

varname
The variable name of the general state equation.
Data type: variable
use_local_deriv_iface_dll
Controls usage of the subroutine for GSE_DERIV. Valid values are: TRUE or FALSE.
Data type: Boolean
use_local_output_iface_dll
Controls usage of the subroutine for GSE_OUTPUT. Valid values are: TRUE or FALSE.
Data type: Boolean
use_local_update_iface_dll
Controls usage of the subroutine for GSE_UPDATE. Valid values are: TRUE or FALSE.
Data type: Boolean
use_local_samp_iface_dll
Controls usage of the subroutine for GSE_SAMP. Valid values are: TRUE or FALSE.
Data type: Boolean

Example

*SetLocalUserInterfaceDLL( gse_0 , "mygsederiv", 
"mygseoutput", 
mygseupdate", 
"mygsesamp")
 *SetLocalUserFuncname( gse_0, "mygsederivfunc", 
"mygsoutfunc", 
"mygseupdatefunc", 
"mygsesampfunc")
*SetLocalUserDLLFlag( gse_0, , , false, false)
In the example above, the *SetLocalUserInterfaceDLLFlag statement switches off the use of the “mygseupdate” and “mygsesamp” subroutines. The INTERFACE argument will be as shown below:
, INTERFACE = mygsederiv:: mygsederivfunc, mygseoutput:: mygsoutfunc, ,

Context

*BeginMdl()

*DefineAnalysis()

*DefineSystem()

*DefineAssembly()

*BeginContext()

Comments

This statement is used to control the usage of subroutines used for the general state equation.

Using a false value for any of the statements will cause MotionView to skip exporting of the relevant subroutine file and function name in the INTERACTIVE statement in ADAMS. This statement should be specified after the *SetLocalUserInterfaceDLL() statement, otherwise the statement will override the flag specified in this statement.

If multiple *SetLocalUserInterfaceDLLFlag() statements are used, wherever there are blank tokens for the arguments, the values specified in the earlier instance is still valid.

This statement is not applicable for MotionSolve.