Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29280 Discussions

how to grouping this 3 dimensional array?

changks888
Beginner
504 Views
Dear all,

I'm confused by this 3 dimensional array. Can you please help me out how to grouping this array? Thanks.

real dimension(18,4,2)
common /dim_array/ dimension(18,4,2)

data dimension /213.,213.,213.,213.,213.,213.,0.,0.,0., &
0.,0.,0., 75.,106.,136.,167.,167.,167., &
273.,273.,273.,273.,273.,273.,0.,0.,0., &
0.,0.,0.,135.,166.,196.,196.,196.,196., &
121.,121.,121.,121.,121.,121.,0.,0.,0., &
0.,0.,0.,275.,244.,214.,214.,214.,214., &
151.,151.,151.,151.,151.,151.,0.,0.,0., &
0.,0.,0.,305.,274.,244.,244.,244.,244., &
213.,213.,213.,213.,213.,213.,0.,0.,0., &
0.,0., 75.,106.,136.,167.,167.,167.,167., &
273.,273.,273.,273.,273.,273.,0.,0.,0., &
0.,0.,135.,166.,196.,196.,196.,196.,196., &
121.,121.,121.,121.,121.,121.,0.,0.,0., &
0.,0.,275.,244.,214.,214.,214.,214.,214., &
151.,151.,151.,151.,151.,151.,0.,0.,0., &
0.,0.,305.,274.,244.,244.,244.,244.,244. /
0 Kudos
1 Solution
Steven_L_Intel1
Employee
504 Views
Leftmost subscript varies fastest. Does that help?

View solution in original post

0 Kudos
2 Replies
Steven_L_Intel1
Employee
505 Views
Leftmost subscript varies fastest. Does that help?
0 Kudos
changks888
Beginner
504 Views
Ha~ Steve, that helps a lot. :)
0 Kudos
Reply