Hello all,
Matthias wrote:
> > Is there a reason to write calls of rsnap and wsnap in the form
> > rsnap('var.dat',f(:,:,:,1:mvar_in),mvar_in)
> > instead of simply
> > rsnap('var.dat',f,mvar_in)
Wolfgang wrote:
> So it is probably wiser to change the calling sequence according to your
> suggestion.
I agree, passing sub-arrays is always sub-optimal, because it very
likely translates to implicit copying of memory.
(And: because mixing of fixed-size and variable-(implicit-)size size
dimensions in one array is not allowed in F95, this proposal falls out.)
I will adapt the IO-modules accordingly, after some days have passed and
if no more comments are made on this issue - it should be a quick fix.
Thanks and best regards,
Philippe.