HyperWorks Solvers

STEP5

STEP5

Previous topic Next topic No expanding text in this topic  

STEP5

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Subroutine Type

Utility/General

Definition

Evaluates a STEP function via a polynomial of the fifth order approximation.

Use

This function can be called by any user-defined subroutine.

Calling Syntax

Fortran

CALL STEP5 (X, X0, H0, X1, H1, IORD, VALUE, ERRFLG)

 

C

c_step5(x, x0, h0, x1, h1, iord, value, errflg)

 

Python

[value, errflg] = py_step5(x, x0, h0, x1, h1, iord)

 

MATLAB

[value, errflg] = m_step5(x, x0, h0, x1, h1, iord)

Input Arguments

X [double precision]

The independent variable.  For example, to specify time as the independent variable, specify X as TIME.

 

X0 [double precision]

The X value at which the STEP5 function begins.

 

H0 [double precision]

The value of the STEP5 function at X0

 

X1 [double precision]

The X value at which the STEP5 function ends.

 

H1 [double precision]

The value of the STEP5 function at X1.

 

IORD [integer]

The order of the derivative that STEP5 has to return.  Order can be 0, 1 or 2.

Output Values

Value [integer]

A value that the subroutine returns.

 

Errflg [logical]

A (true or false) variable that STEP5 returns to the calling subroutine.  If STEP5 detects an error while calling the subroutine, it sets the error flag to true.

See Also:

Data Access Subroutines