Compute weights.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(optimal_weights), | intent(inout) | :: | self | Optimal weights. |
||
integer(kind=I_P), | intent(in) | :: | S | Number of stencils used. |
pure subroutine compute(self, S)
!< Compute weights.
class(optimal_weights), intent(inout) :: self !< Optimal weights.
integer(I_P), intent(in) :: S !< Number of stencils used.
#ifndef DEBUG
! error stop in pure procedure is a F2015 feature not yet supported in debug mode
error stop 'optimal_weights%compute to be implemented by your concrete optimal weights object'
#endif
endsubroutine compute