Do not allow splines with zero sampling points.
#include <dumux/common/spline.hh>
|
| 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.
|
|
◆ Spline() [1/5]
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
-
x | An array containing the \(x\) values of the spline's sampling points |
y | An array containing the \(y\) values of the spline's sampling points |
◆ Spline() [3/5]
Dumux::Spline< Scalar, numSamples >::Spline |
( |
const PointArray & | points | ) |
|
|
inline |
- Parameters
-
points | An 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
-
x | An array containing the \(x\) values of the spline's sampling points |
y | An array containing the \(y\) values of the spline's sampling points |
m0 | The slope of the spline at \(x_0\) |
m1 | The slope of the spline at \(x_n\) |
◆ Spline() [5/5]
Dumux::Spline< Scalar, numSamples >::Spline |
( |
const PointArray & | points, |
|
|
Scalar | m0, |
|
|
Scalar | m1 ) |
|
inline |
- Parameters
-
points | An array of \((x,y)\) tuples of the spline's sampling points |
m0 | The slope of the spline at \(x_0\) |
m1 | The slope of the spline at \(x_n\) |
The documentation for this class was generated from the following file: