Blueprint for interpolating a tension function between end point conditions. More...
#include <tension_function.hpp>
Public Types | |
typedef ecl::TensionFunction | base_type |
Abstract representation of the class to be instantiated/configured. | |
Public Member Functions | |
void | apply (base_type &function) const |
Apply the blueprint to configure an existing object. | |
ecl::TensionFunction | instantiate () |
Instantiate a copy of the object that is blueprinted. | |
TensionSecondDerivativeInterpolation (const double x_i, const double y_i, const double yddot_i, const double x_f, const double y_f, const double yddot_f) | |
Constructor that properly configures/initialises the blueprint. | |
virtual | ~TensionSecondDerivativeInterpolation () |
Private Attributes | |
double | x_final |
double | x_initial |
double | y_final |
double | y_initial |
double | yddot_final |
double | yddot_initial |
Blueprint for interpolating a tension function between end point conditions.
Blueprint for interpolating a tension function between two end point conditions. That is, the resulting y(x) should satisfy the following conditions:
y(x_i) = y_i y(x_f) = y_f y''(x_i) = y''_i y''(x_f) = y''_f
Definition at line 284 of file tension_function.hpp.
Abstract representation of the class to be instantiated/configured.
Definition at line 289 of file tension_function.hpp.
ecl::blueprints::TensionSecondDerivativeInterpolation::TensionSecondDerivativeInterpolation | ( | const double | x_i, |
const double | y_i, | ||
const double | yddot_i, | ||
const double | x_f, | ||
const double | y_f, | ||
const double | yddot_f | ||
) | [inline] |
Constructor that properly configures/initialises the blueprint.
Constructor that accepts the boundary constraints used to generate the tension function.
x_i | : initial domain value. |
y_i | : initial value. |
yddot_i | : initial curvature. |
x_f | : final domain value. |
y_f | : final value. |
yddot_f | : final curvature. |
Definition at line 302 of file tension_function.hpp.
virtual ecl::blueprints::TensionSecondDerivativeInterpolation::~TensionSecondDerivativeInterpolation | ( | ) | [inline, virtual] |
Definition at line 311 of file tension_function.hpp.
void ecl::blueprints::TensionSecondDerivativeInterpolation::apply | ( | base_type & | function | ) | const |
Apply the blueprint to configure an existing object.
Apply the boundary conditions to generate the tension function.
function | : the function to configure from the supplied boundary conditions. |
Definition at line 68 of file lib/tension_function.cpp.
Instantiate a copy of the object that is blueprinted.
Instantiates a new tension function generated from the input boundary conditions.
Definition at line 62 of file lib/tension_function.cpp.
double ecl::blueprints::TensionSecondDerivativeInterpolation::x_final [private] |
Definition at line 333 of file tension_function.hpp.
double ecl::blueprints::TensionSecondDerivativeInterpolation::x_initial [private] |
Definition at line 332 of file tension_function.hpp.
double ecl::blueprints::TensionSecondDerivativeInterpolation::y_final [private] |
Definition at line 333 of file tension_function.hpp.
double ecl::blueprints::TensionSecondDerivativeInterpolation::y_initial [private] |
Definition at line 332 of file tension_function.hpp.
double ecl::blueprints::TensionSecondDerivativeInterpolation::yddot_final [private] |
Definition at line 333 of file tension_function.hpp.
double ecl::blueprints::TensionSecondDerivativeInterpolation::yddot_initial [private] |
Definition at line 332 of file tension_function.hpp.