Concerning your set
subroutine, I would recommend using the pointer
attribute for the input arguments, in line with the discussion in this thread: Why/When is the `target` attribute part of the characterisics of a procedure - #3 by aradi
1 Like