Subroutine Type |
Utility/Data Access |
|
Definition |
The SET_DAE_HMAX utility subroutine sets the maximum step size that the DAE integrator DSTIFF is allowed to take. |
|
Calling Syntax |
FortranCALL SET_DAE_HMAX (HMAX)
Cc_set_dae_hmax(hmax)
Pythonpy_set_dae_hmax(hmax)
Matlabm_set_dae_hmax(hmax) |
|
Input Arguments |
HMAX |
A double precision value that specifies the value of Param_Transient::h_max i.e. the maximum step size that the DSTIFF integrator can take in a transient simulation. HMAX must be greater than zero. |
Output Values |
None. |
|
Complete Definition |
The SET_DAE_HMAX is a function style subroutine which can be used in a TUNSUB to set the maximum time step size DAE integrator DSTIFF. Using this function, the step size can be modified on the fly as per the simulation needs. This function is typically used to improve accuracy or performance of the multi-body simulation. |
|
Example |
Please see TUNSUB for a GETNUMID usage example for SET_DAE_HMAX. |
See Also: