Holds data representing a periodic spline. Should be set up by calling new_periodic_spline.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | n |
Length of the data arrays represented by the spline |
|||
real, | private | :: | period |
The actual size of the periodic domain |
|||
real, | private, | dimension (:), allocatable | :: | x |
Holds the independent and dependent values of the
splined data in |
||
real, | private, | dimension (:), allocatable | :: | y |
Holds the independent and dependent values of the
splined data in |
||
real, | private, | dimension (:), allocatable | :: | y2 |
Holds the independent and dependent values of the
splined data in |
||
logical, | public | :: | valid | = | .false. |
Indicates if the spline corresponding to this data is valid and can be used with the spline evaluation routines. |
|
real, | private | :: | tension |
The tension used in computing the splined data, note this must be the value used in the initialisation when passed to the spline evaluation routines. |
type :: periodic_spline
private
!> Length of the data arrays represented by the spline
integer :: n
!> The actual size of the periodic domain
real :: period
!> Holds the independent and dependent values of the
!> splined data in `x` and `y`. The second derivative
!> is held in `y2` and calculated automatically.
real, dimension (:), allocatable :: x, y, y2
!> Indicates if the spline corresponding to this data is valid
!> and can be used with the spline evaluation routines.
logical, public :: valid = .false.
!> The tension used in computing the splined data, note this
!> must be the value used in the initialisation when passed
!> to the spline evaluation routines.
real :: tension
end type periodic_spline