SET_DAE_HMAX

Utility/Data Access SubroutineThe SET_DAE_HMAX utility subroutine sets the maximum step size that the DAE integrator DSTIFF is allowed to take.

Format

Fortran Calling Syntax
CALL SET_DAE_HMAX (HMAX)
C/C++ Calling Syntax
c_set_dae_hmax(hmax)
Python Calling Syntax
py_set_dae_hmax(hmax)
MATLAB Calling Syntax
m_set_dae_hmax(hmax)

Attributes

HMAX
Double precision

Specifies the value of Param_Transient::h_max, for example, the maximum step size that the DSTIFF integrator can take in a transient simulation. HMAX must be greater than zero.

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 multibody simulation.

Example

Please see TUNSUB for a GETNUMID usage example for SET_DAE_HMAX.