Public Types | Public Member Functions | Private Attributes
ecl::blueprints::TensionSecondDerivativeInterpolation Class Reference

Blueprint for interpolating a tension function between end point conditions. More...

#include <tension_function.hpp>

Inheritance diagram for ecl::blueprints::TensionSecondDerivativeInterpolation:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

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
See also:
TensionFunction.

Definition at line 284 of file tension_function.hpp.


Member Typedef Documentation

Abstract representation of the class to be instantiated/configured.

Definition at line 289 of file tension_function.hpp.


Constructor & Destructor Documentation

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.

Parameters:
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.

Definition at line 311 of file tension_function.hpp.


Member Function Documentation

Apply the blueprint to configure an existing object.

Apply the boundary conditions to generate the tension function.

Parameters:
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.

Returns:
TensionFunction : a copy of the generated function.

Definition at line 62 of file lib/tension_function.cpp.


Member Data Documentation

Definition at line 333 of file tension_function.hpp.

Definition at line 332 of file tension_function.hpp.

Definition at line 333 of file tension_function.hpp.

Definition at line 332 of file tension_function.hpp.

Definition at line 333 of file tension_function.hpp.

Definition at line 332 of file tension_function.hpp.


The documentation for this class was generated from the following files:


ecl_geometry
Author(s): Daniel Stonier
autogenerated on Wed Aug 26 2015 11:27:46