Sets the extrap
flag in the class.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(bspline_class), | intent(inout) | :: | me | |||
logical, | intent(in), | optional | :: | extrap |
if not present, then False is used |
pure subroutine set_extrap_flag(me,extrap) implicit none class(bspline_class),intent(inout) :: me logical,intent(in),optional :: extrap !! if not present, then False is used if (present(extrap)) then me%extrap = extrap else me%extrap = .false. end if end subroutine set_extrap_flag