.IDEAS.Utilities.Math.Functions.smoothHeaviside

Information

Twice Lipschitz continuously differentiable approximation to the Heaviside(.,.) function.
Function is derived from a quintic polynomial going through (0,0) and (1,1), with zero first and second order derivatives at those points.
See Example IDEAS.Utilities.Math.Examples.SmoothHeaviside.

Interface

function smoothHeaviside
  extends Modelica.Icons.Function;
  input Real x "Argument";
  input Real delta(min = Modelica.Constants.eps) "Parameter used for scaling";
  output Real y "Result";
end smoothHeaviside;

Revisions


Generated at 2024-12-22T19:25:51Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos