.Modelica.Fluid.Utilities.cubicHermite_withDerivative

Information

Evaluate a cubic Hermite spline, return value and derivative

Interface

function cubicHermite_withDerivative
  extends Modelica.Icons.Function;
  input Real x "Abscissa value";
  input Real x1 "Lower abscissa value";
  input Real x2 "Upper abscissa value";
  input Real y1 "Lower ordinate value";
  input Real y2 "Upper ordinate value";
  input Real y1d "Lower gradient";
  input Real y2d "Upper gradient";
  output Real y "Interpolated ordinate value";
  output Real dy_dx "Derivative dy/dx at abscissa value x";
end cubicHermite_withDerivative;

Revisions


Generated at 2024-11-26T19:26:15Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos