Abstract interpolator object.
Abstract interpolator object constructor.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
class(smoothness_indicators_constructor), | public, | allocatable | :: | is | Smoothness indicators constructor. |
||
class(alpha_coefficients_constructor), | public, | allocatable | :: | alpha | Alpha coefficients constructor. |
||
class(optimal_weights_constructor), | public, | allocatable | :: | weights | Optimal weights constructor. |
||
class(polynomials_constructor), | public, | allocatable | :: | polynom | Polynomilas constructor. |
procedure, public, pass(self) :: create => create_interpolator_constructor | Create interpolator constructor. |
procedure, public, pass(self) :: destroy => destroy_interpolator_constructor | Destroy interpolator constructor. |
Abstract interpolator object.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
class(smoothness_indicators), | public, | allocatable | :: | is | Smoothness indicators. |
||
class(alpha_coefficients), | public, | allocatable | :: | alpha | Alpha coefficients. |
||
class(optimal_weights), | public, | allocatable | :: | weights | Optimal weights. |
||
class(polynomials), | public, | allocatable | :: | polynom | Polynomilas. |
procedure, public, nopass :: description | Return interpolator string-description. |
procedure, public, pass(self) :: interpolate | Interpolate values. |
procedure, public, pass(self) :: create | Create interpolator. |
procedure, public, pass(self) :: destroy | Destroy interpolator. |
Return interpolator string-description.
String-description.
Create interpolator constructor.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(interpolator_constructor), | intent(inout) | :: | self | Interpolator constructor. |
||
class(smoothness_indicators_constructor), | intent(in) | :: | is | Smoothness indicators constructor. |
||
class(alpha_coefficients_constructor), | intent(in) | :: | alpha | Alpha coefficients constructor. |
||
class(optimal_weights_constructor), | intent(in) | :: | weights | Optimal weights constructor. |
||
class(polynomials_constructor), | intent(in) | :: | polynom | Polynomilas constructor. |
Destroy interpolator constructor.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(interpolator_constructor), | intent(inout) | :: | self | Interpolator. |
Interpolate values.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(interpolator), | intent(inout) | :: | self | Interpolator. |
||
integer(kind=I_P), | intent(in) | :: | S | Number of stencils actually used. |
||
real(kind=R_P), | intent(in) | :: | stencil(1:,1-S:) | Stencil of the interpolation [1:2, 1-S:-1+S]. |
||
character(len=*), | intent(in) | :: | location | Location of interpolation: left, right, both. |
||
real(kind=R_P), | intent(out) | :: | interpolation(1:) | Result of the interpolation, [1:2]. |
Create interpolator.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(interpolator), | intent(inout) | :: | self | Interpolator. |
||
class(base_object_constructor), | intent(in) | :: | constructor | Constructor. |
Destroy interpolator
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(interpolator), | intent(inout) | :: | self | Interpolator. |