Blueprint for generating a tension spline satisfying C2 constraints. More...
#include <tension_spline.hpp>
Public Types | |
typedef ecl::TensionSpline | base_type |
Abstract representation of the class to be instantiated/configured. More... | |
Public Member Functions | |
void | apply (base_type &spline) const |
Apply the blueprint to configure an existing object. More... | |
C2TensionSpline () | |
Default constructor. More... | |
C2TensionSpline (const ecl::Array< double > &x_set, const ecl::Array< double > &y_set, const double &tau) | |
Constructor that properly configures/initialises the blueprint. More... | |
base_type | instantiate () |
Instantiate a copy of the object that is blueprinted. More... | |
~C2TensionSpline () | |
Public Member Functions inherited from ecl::BluePrint< C2TensionSpline > | |
BluePrint () | |
void | implementApply (BaseType &object) const |
BaseType | implementInstantiate () |
virtual | ~BluePrint () |
Private Attributes | |
double | tension |
ecl::Array< double > | x_data |
ecl::Array< double > | y_data |
ecl::Array< double > | yddot_data |
Blueprint for generating a tension spline satisfying C2 constraints.
Blueprint for generating a tension spline on a set of data given the constraint of continuity of y, y' and y''.
Definition at line 260 of file tension_spline.hpp.
Abstract representation of the class to be instantiated/configured.
Definition at line 269 of file tension_spline.hpp.
|
inline |
Default constructor.
Default constructor (only utilised by the blueprint compile time assert).
Definition at line 275 of file tension_spline.hpp.
|
inline |
Definition at line 276 of file tension_spline.hpp.
ecl::blueprints::C2TensionSpline::C2TensionSpline | ( | const ecl::Array< double > & | x_set, |
const ecl::Array< double > & | y_set, | ||
const double & | tau | ||
) |
Constructor that properly configures/initialises the blueprint.
The constructor uses the input data sets along with the assumption of zero boundary conditions on the second derivatives to generate a full set of second derivatives at each via point that will guarantee c2 continuity of the spline.
x_set | : set of data on the domain axis. |
y_set | : set of values on the range axis. |
tau | : the tension parameter. |
StandardException : throws if configuration arguments are not valid [debug mode only]. |
Definition at line 49 of file tension_spline_blueprints.cpp.
void ecl::blueprints::C2TensionSpline::apply | ( | base_type & | spline | ) | const |
Apply the blueprint to configure an existing object.
Apply the data set to generate the configuration required for the tension spline.
spline | : the spline to configure from the supplied data set. |
Definition at line 112 of file tension_spline_blueprints.cpp.
TensionSpline ecl::blueprints::C2TensionSpline::instantiate | ( | ) |
Instantiate a copy of the object that is blueprinted.
Instantiates a new tension spline generated from the supplied data set.
Definition at line 106 of file tension_spline_blueprints.cpp.
|
private |
Definition at line 315 of file tension_spline.hpp.
|
private |
Definition at line 312 of file tension_spline.hpp.
|
private |
Definition at line 313 of file tension_spline.hpp.
|
private |
Definition at line 314 of file tension_spline.hpp.