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. More... | |
Public Member Functions | |
void | apply (base_type &function) const |
Apply the blueprint to configure an existing object. More... | |
ecl::TensionFunction | instantiate () |
Instantiate a copy of the object that is blueprinted. More... | |
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. More... | |
virtual | ~TensionSecondDerivativeInterpolation () |
Public Member Functions inherited from ecl::BluePrint< TensionSecondDerivativeInterpolation > | |
BluePrint () | |
void | implementApply (BaseType &object) const |
BaseType | implementInstantiate () |
virtual | ~BluePrint () |
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:
Definition at line 292 of file tension_function.hpp.
Abstract representation of the class to be instantiated/configured.
Definition at line 301 of file tension_function.hpp.
|
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 314 of file tension_function.hpp.
|
inlinevirtual |
Definition at line 323 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 72 of file lib/tension_function.cpp.
ecl::TensionFunction ecl::blueprints::TensionSecondDerivativeInterpolation::instantiate | ( | ) |
Instantiate a copy of the object that is blueprinted.
Instantiates a new tension function generated from the input boundary conditions.
Definition at line 66 of file lib/tension_function.cpp.
|
private |
Definition at line 345 of file tension_function.hpp.
|
private |
Definition at line 344 of file tension_function.hpp.
|
private |
Definition at line 345 of file tension_function.hpp.
|
private |
Definition at line 344 of file tension_function.hpp.
|
private |
Definition at line 345 of file tension_function.hpp.
|
private |
Definition at line 344 of file tension_function.hpp.