$search

ecl::blueprints::C2TensionSpline Class Reference

Blueprint for generating a tension spline satisfying C2 constraints. More...

#include <tension_spline.hpp>

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

List of all members.

Public Types

typedef ecl::TensionSpline base_type
 Abstract representation of the class to be instantiated/configured.

Public Member Functions

void apply (base_type &spline) const
 Apply the blueprint to configure an existing object.
 C2TensionSpline ()
 Default constructor.
 ~C2TensionSpline ()

Public Attributes

C2TensionSpline(const
ecl::Array< double > &x_set,
const ecl::Array< double >
&y_set, const double &tau)
ecl_assert_throw_decl(ecl
base_type 
instantiate ()
 Constructor that properly configures/initialises the blueprint.

Private Attributes

double tension
ecl::Array< double > x_data
ecl::Array< double > y_data
ecl::Array< double > yddot_data

Detailed Description

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''.

See also:
TensionSpline.

Definition at line 239 of file tension_spline.hpp.


Member Typedef Documentation

Abstract representation of the class to be instantiated/configured.

Definition at line 244 of file tension_spline.hpp.


Constructor & Destructor Documentation

ecl::blueprints::C2TensionSpline::C2TensionSpline (  )  [inline]

Default constructor.

Default constructor (only utilised by the blueprint compile time assert).

Definition at line 250 of file tension_spline.hpp.

ecl::blueprints::C2TensionSpline::~C2TensionSpline (  )  [inline]

Definition at line 251 of file tension_spline.hpp.


Member Function Documentation

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.

Parameters:
spline : the spline to configure from the supplied data set.

Definition at line 104 of file tension_spline_blueprints.cpp.


Member Data Documentation

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.

Parameters:
x_set : set of data on the domain axis.
y_set : set of values on the range axis.
tau : the tension parameter.
Exceptions:
: StandardException : throws if configuration arguments are not valid [debug mode only]. Instantiate a copy of the object that is blueprinted. Instantiates a new tension spline generated from the supplied data set.
Returns:
TensionSpline : a copy of the generated tension spline.

Definition at line 275 of file tension_spline.hpp.

Definition at line 290 of file tension_spline.hpp.

Definition at line 287 of file tension_spline.hpp.

Definition at line 288 of file tension_spline.hpp.

Definition at line 289 of file tension_spline.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines


ecl_geometry
Author(s): Daniel Stonier (d.stonier@gmail.com)
autogenerated on Fri Mar 1 15:21:46 2013