[Nek5000-users] array reshape
    nek5000-users at lists.mcs.anl.gov 
    nek5000-users at lists.mcs.anl.gov
       
    Thu Jul 12 07:13:18 CDT 2018
    
    
  
I dont think you need to do anything as the first index is the faster 
varying in Fortran.
Philipp
On 2018-07-12 14:07, nek5000-users at lists.mcs.anl.gov wrote:
> 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.
> 
> 
> 
> _______________________________________________
> Nek5000-users mailing list
> Nek5000-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
> 
    
    
More information about the Nek5000-users
mailing list