Skip to content

Functions

Moritz Lauster edited this page Oct 7, 2016 · 3 revisions

SmoothOrder

Use the smoothOrder annotation if a function is differentiable.

Inverse

If a function is invertible, also implement its inverse function and use the inverse annotation. See Annex60.Fluid.BaseClasses.FlowModels for an example.

Linearised Equation

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.


Documentation

Clone this wiki locally