# SET_DAE_ERROR

Utility/Data Access SubroutineThe SET_DAE_ERROR utility subroutine sets the integration error tolerance for the DAE integrator DSTIFF.

## Format

Fortran Calling Syntax
CALL SET_DAE_ERROR(ERROR)
C/C++ Calling Syntax
c_set_dae_error(error)
Python Calling Syntax
py_set_dae_error(error)
MATLAB Calling Syntax
m_set_dae_error(error)

## Attributes

ERROR
Double precision
Specifies the error tolerance to be set for the DSTIFF integrator. ERROR must be greater than zero.

## Complete Definition

The SET_DAE_ERROR is a function style subroutine which can be used in a TUNSUB subroutine to set the integration error tolerance for the DAE integrator DSTIFF and for FIM_D. Using this function, the integration error tolerance can be modified spontaneously 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_ERROR.