Public Member Functions | Protected Attributes | List of all members
ecl::GenericSplineFunction Class Referenceabstract

This is a parent class for generic spline functions. More...

#include <spline_function.hpp>

Inheritance diagram for ecl::GenericSplineFunction:
Inheritance graph
[legend]

Public Member Functions

virtual double dderivative (const double &x) const =0
 Virtual access function for a spline function's 2nd derivative. More...
 
virtual double derivative (const double &x) const =0
 Virtual access function for a spline function derivative. More...
 
const Array< double, 2 > & domain ()
 Get access to the domain for this spline function. More...
 
virtual double operator() (const double &x) const =0
 Virtual access function for a spline function. More...
 
virtual ~GenericSplineFunction ()
 

Protected Attributes

Array< double, 2 > time_domain
 

Detailed Description

This is a parent class for generic spline functions.

This is the parent interface for spline functions.

See also
SplineFunction

Definition at line 39 of file spline_function.hpp.

Constructor & Destructor Documentation

◆ ~GenericSplineFunction()

virtual ecl::GenericSplineFunction::~GenericSplineFunction ( )
inlinevirtual

Definition at line 41 of file spline_function.hpp.

Member Function Documentation

◆ dderivative()

virtual double ecl::GenericSplineFunction::dderivative ( const double &  x) const
pure virtual

Virtual access function for a spline function's 2nd derivative.

Parameters
x: the point at which you wish to calculate the value for.
Returns
double : the value of the 2nd derivative at x.

Implemented in ecl::SplineFunction< Function >.

◆ derivative()

virtual double ecl::GenericSplineFunction::derivative ( const double &  x) const
pure virtual

Virtual access function for a spline function derivative.

Parameters
x: the point at which you wish to calculate the value for.
Returns
double : the value of the derivative at x.

Implemented in ecl::SplineFunction< Function >.

◆ domain()

const Array<double,2>& ecl::GenericSplineFunction::domain ( )
inline

Get access to the domain for this spline function.

Get access to the domain for this spline function.

Returns
const Array<double,2>& : stores domain_begin and domain_end.

Definition at line 68 of file spline_function.hpp.

◆ operator()()

virtual double ecl::GenericSplineFunction::operator() ( const double &  x) const
pure virtual

Virtual access function for a spline function.

Parameters
x: the point at which you wish to calculate the value for.
Returns
double : the value of the function at x.

Implemented in ecl::SplineFunction< Function >.

Member Data Documentation

◆ time_domain

Array<double,2> ecl::GenericSplineFunction::time_domain
protected

Definition at line 71 of file spline_function.hpp.


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


ecl_geometry
Author(s): Daniel Stonier
autogenerated on Mon Feb 28 2022 22:18:49