Public Types | Public Member Functions | Private Attributes | List of all members
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]

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
 

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

◆ base_type

Abstract representation of the class to be instantiated/configured.

Definition at line 289 of file tension_function.hpp.

Constructor & Destructor Documentation

◆ TensionSecondDerivativeInterpolation()

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.

◆ ~TensionSecondDerivativeInterpolation()

virtual ecl::blueprints::TensionSecondDerivativeInterpolation::~TensionSecondDerivativeInterpolation ( )
inlinevirtual

Definition at line 311 of file tension_function.hpp.

Member Function Documentation

◆ apply()

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.

Parameters
function: the function to configure from the supplied boundary conditions.

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

◆ instantiate()

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.

Returns
TensionFunction : a copy of the generated function.

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

Member Data Documentation

◆ x_final

double ecl::blueprints::TensionSecondDerivativeInterpolation::x_final
private

Definition at line 333 of file tension_function.hpp.

◆ x_initial

double ecl::blueprints::TensionSecondDerivativeInterpolation::x_initial
private

Definition at line 332 of file tension_function.hpp.

◆ y_final

double ecl::blueprints::TensionSecondDerivativeInterpolation::y_final
private

Definition at line 333 of file tension_function.hpp.

◆ y_initial

double ecl::blueprints::TensionSecondDerivativeInterpolation::y_initial
private

Definition at line 332 of file tension_function.hpp.

◆ yddot_final

double ecl::blueprints::TensionSecondDerivativeInterpolation::yddot_final
private

Definition at line 333 of file tension_function.hpp.

◆ yddot_initial

double ecl::blueprints::TensionSecondDerivativeInterpolation::yddot_initial
private

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 Mon Feb 28 2022 22:18:49