Go to the documentation of this file.
14 #include "../../include/ecl/geometry/tension_function.hpp"
29 value = (-1.0*tau*
z_0*cosh(tau*(
x_f-x)) + tau*
z_f*cosh(tau*(x-
x_0)))/(tau*tau*sinh(tau*h));
31 value += (
y_f-
z_f/(tau*tau))/h;
40 value = (tau*tau*
z_0*sinh(tau*(
x_f-x)) + tau*tau*
z_f*sinh(tau*(x-
x_0)))/(tau*tau*sinh(tau*h));
48 value = (
z_0*sinh(tau*(
x_f-x)) +
z_f*sinh(tau*(x-
x_0)))/(tau*tau*sinh(tau*h));
54 namespace blueprints {
ecl::TensionFunction instantiate()
Instantiate a copy of the object that is blueprinted.
double operator()(const double &tau, const double &x) const
Calculates the value for a certain tension at the specified point.
void apply(base_type &function) const
Apply the blueprint to configure an existing object.
Representation of a tension function.
double derivative(const double &tau, const double &x) const
Generates the derivative for a certain tension at the specified point.
double dderivative(const double &tau, const double &x) const
Generates the 2nd derivative for a certain tension at the specified point.
Embedded control libraries.
Blueprint for interpolating a tension function between end point conditions.
ecl_geometry
Author(s): Daniel Stonier
autogenerated on Wed Mar 2 2022 00:16:39