Skip to content

Commit

Permalink
Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mwetter committed Mar 5, 2024
1 parent 6d89bf3 commit c59df54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion IBPSA/Utilities/Math/Functions/interpolate.mo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
within IBPSA.Utilities.Math.Functions;
function interpolate
"Function for the interpolation of table data for airflow models"
"Function for cubic hermite spline interpolation of table data"
extends Modelica.Icons.Function;

input Real u "Independent variable";
Expand Down
4 changes: 2 additions & 2 deletions IBPSA/Utilities/Math/Interpolate.mo
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
within IBPSA.Utilities.Math;
block Interpolate
"Output the smooth interpolation of the input signal on the given curve"
"Output the cubic hermite spline interpolation of the input signal on the given curve"
extends Modelica.Blocks.Interfaces.SISO;

parameter Real[:] xd "x-axis support points";
parameter Real[size(xd, 1)] yd "y-axis support points";
parameter Real[size(xd, 1)] d "Derivatives at the support points";
equation
y = IBPSA.Utilities.Math.Functions.interpolate(u=u,xd=xd,yd=yd,d=d);
y = IBPSA.Utilities.Math.Functions.interpolate(u=u, xd=xd, yd=yd, d=d);

annotation (
defaultComponentName="int",
Expand Down

0 comments on commit c59df54

Please sign in to comment.