Jiang-Shu and Gerolymos-Senechal-Vallet optimal weights object.
The provided WENO optimal weights implements the optimal weights defined in Efficient Implementation of Weighted ENO Schemes, Guang-Shan Jiang, Chi-Wang Shu, JCP, 1996, vol. 126, pp. 202–228, doi:10.1006/jcph.1996.0130 and Very-high-order weno schemes, G. A. Gerolymos, D. Senechal, I. Vallet, JCP, 2009, vol. 228, pp. 8481-8524, doi:10.1016/j.jcp.2009.07.039
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=R_P), | public, | allocatable | :: | opt(:,:) | Optimal weights [1:2,0:S-1]. |
Createte weights.
Create weights.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(optimal_weights), | intent(inout) | :: | self | Optimal weights. |
||
class(base_object_constructor), | intent(in) | :: | constructor | Optimal weights constructor. |
Destroy weights.
Destroy weights.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(optimal_weights), | intent(inout) | :: | self | Optimial weights. |
Compute weights.
Compute weights.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(optimal_weights_js), | intent(inout) | :: | self | Optimal weights. |
||
integer(kind=I_P), | intent(in) | :: | S | Number of stencils used. |
Return weights string-description.
Return string-description of weights.
String-description.
type, extends(optimal_weights):: optimal_weights_js
!< Jiang-Shu and Gerolymos-Senechal-Vallet optimal weights object.
!<
!< @note The provided WENO optimal weights implements the optimal weights defined in *Efficient Implementation of Weighted ENO
!< Schemes*, Guang-Shan Jiang, Chi-Wang Shu, JCP, 1996, vol. 126, pp. 202--228, doi:10.1006/jcph.1996.0130 and
!< *Very-high-order weno schemes*, G. A. Gerolymos, D. Senechal, I. Vallet, JCP, 2009, vol. 228, pp. 8481-8524,
!< doi:10.1016/j.jcp.2009.07.039
contains
! deferred public methods
procedure, pass(self) :: compute !< Compute weights.
procedure, nopass :: description !< Return weights string-description.
endtype optimal_weights_js