Set the function in a diff_func. Must be called before diff.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(diff_func), | intent(inout) | :: | me | |||
procedure(func) | :: | f |
subroutine set_function(me,f) implicit none class(diff_func),intent(inout) :: me procedure(func) :: f me%f => f end subroutine set_function