-
Notifications
You must be signed in to change notification settings - Fork 34
Functions
jmoeckel edited this page Nov 5, 2015
·
1 revision
Guidelines regarding the use of functions.
Use the smoothOrder
annotation if a function is differentiable.
If a function is invertible, also implement its inverse function and use the inverse
annotation. See Annex60.Fluid.BaseClasses.FlowModels
for an example.
If a model allows a linearised implementation of an equation, then implement the linearised equation in an equation
section and not in the algorithm
section of a function. Otherwise, a symbolic processor cannot invert the linear equation, which can lead to coupled systems of equations. See Annex60.Fluid.BaseClasses.FlowModels
for an example.