version 3.10.0
Loading...
Searching...
No Matches
Dumux::Spline< Scalar, 1 > Class Template Reference

Do not allow splines with one sampling point.

#include <dumux/common/spline.hh>

Inheritance diagram for Dumux::Spline< Scalar, 1 >:

Public Member Functions

 Spline ()
 Default constructor for a spline.
 
 Spline (const ScalarArray &x, const ScalarArray &y)
 Convenience constructor for a full spline.
 
 Spline (const PointArray &points)
 Convenience constructor for a full spline.
 
 Spline (const ScalarArray &x, const ScalarArray &y, Scalar m0, Scalar m1)
 Convenience constructor for a full spline.
 
 Spline (const PointArray &points, Scalar m0, Scalar m1)
 Convenience constructor for a full spline.
 

Constructor & Destructor Documentation

◆ Spline() [1/5]

Dumux::Spline< Scalar, numSamples >::Spline ( )
inline

To specify the actual curve, use one of the set() methods.

◆ Spline() [2/5]

Dumux::Spline< Scalar, numSamples >::Spline ( const ScalarArray & x,
const ScalarArray & y )
inline
Parameters
xAn array containing the \(x\) values of the spline's sampling points
yAn array containing the \(y\) values of the spline's sampling points

◆ Spline() [3/5]

Dumux::Spline< Scalar, numSamples >::Spline ( const PointArray & points)
inline
Parameters
pointsAn array of \((x,y)\) tuples of the spline's sampling points

◆ Spline() [4/5]

Dumux::Spline< Scalar, numSamples >::Spline ( const ScalarArray & x,
const ScalarArray & y,
Scalar m0,
Scalar m1 )
inline
Parameters
xAn array containing the \(x\) values of the spline's sampling points
yAn array containing the \(y\) values of the spline's sampling points
m0The slope of the spline at \(x_0\)
m1The slope of the spline at \(x_n\)

◆ Spline() [5/5]

Dumux::Spline< Scalar, numSamples >::Spline ( const PointArray & points,
Scalar m0,
Scalar m1 )
inline
Parameters
pointsAn array of \((x,y)\) tuples of the spline's sampling points
m0The slope of the spline at \(x_0\)
m1The slope of the spline at \(x_n\)

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