Jiang-Shu (upwind) interpolator object.
Jiang-Shu (upwind) 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. |
||
integer(kind=I_P), | private | :: | S | = | 0 | Stencils dimension. |
|
real(kind=R_P), | private | :: | eps | = | 10._R_P**(-6) | Parameter for avoiding division by zero. |
procedure, public, pass(self) :: create => create_interpolator_constructor | Create interpolator constructor. |
procedure, public, pass(self) :: destroy => destroy_interpolator_constructor | Destroy interpolator constructor. |
Jiang-Shu (upwind) 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. |
||
integer(kind=I_P), | private | :: | S | = | 0_I_P | Stencil dimension. |
|
real(kind=R_P), | private | :: | eps | = | 0._R_P | Parameter for avoiding divisiion by zero. |
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-descripition.
String-description.
Return an instance of [interpolator_js_constructor].
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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. |
||
integer(kind=I_P), | intent(in) | :: | S | Stencil dimension. |
||
class(interpolator_constructor), | intent(out), | allocatable | :: | constructor | Interpolator constructor. |
|
real(kind=R_P), | intent(in), | optional | :: | eps | Parameter for avoiding division by zero. |
Interpolate values.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(interpolator_js), | 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_js), | intent(inout) | :: | self | Interpolator. |
||
class(base_object_constructor), | intent(in) | :: | constructor | Constructor. |
Destoy interpolator.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(interpolator_js), | intent(inout) | :: | self | Interpolator. |