[Nek5000-users] array reshape

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Thu Jul 12 07:07:42 CDT 2018


Hi all,


How can I reshape this array uvag(lx1,ly1,lz1,lelt) into abc(lx1*ly1*lz1,lelt)?



The following array reshape which works for fortran didn't work:


reshape(uavg, (  \  lx1*ly1*lz1 , lelt \ ))



Any suggestions?


Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20180712/85abe829/attachment.html>


More information about the Nek5000-users mailing list