Base class for the linear interpolation types
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | private | :: | initialized | = | .false. |
if the class was properly initialized |
destructor
interface for bspline destructor routines
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(linear_interp_class), | intent(inout) | :: | me |
Check the validity of the inputs to the initialize routines.
Prints warning message if there is an error,
and also sets ierr
(/=0 if there were any errors).
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(linear_interp_class), | intent(in) | :: | me | |||
real(kind=wp), | intent(in), | optional, | dimension(:) | :: | x |
|
real(kind=wp), | intent(in), | optional, | dimension(:) | :: | y |
|
real(kind=wp), | intent(in), | optional, | dimension(:) | :: | z |
|
real(kind=wp), | intent(in), | optional, | dimension(:) | :: | q |
|
real(kind=wp), | intent(in), | optional, | dimension(:) | :: | r |
|
real(kind=wp), | intent(in), | optional, | dimension(:) | :: | s |
|
integer, | intent(out) | :: | ierr |
|
type,public,abstract :: linear_interp_class !! Base class for the linear interpolation types private logical :: initialized = .false. !! if the class was properly initialized contains private procedure(destroy_func),deferred,public :: destroy !! destructor procedure :: check_inputs end type linear_interp_class