f_nonlinear

P is smuggled in via vector

Syntax

y = f_nonlinear(x, p, X, f_nonlinear_data)

Inputs (4)

x

Type: Real

Description: Independent variable of function

p

Default Value: 0.0

Type: Real

Description: Disregarded variables (here always used for pressure)

X

Default Value: fill(0, 0)

Type: Real[:]

Description: Disregarded variables (her always used for composition)

f_nonlinear_data

Type: f_nonlinear_Data

Description: Additional data for the function

Outputs (1)

y

Type: Real

Description: = f_nonlinear(x)