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 have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
29304 Discussions

how to grouping this 3 dimensional array?

changks888
Beginner
528 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
528 Views
Leftmost subscript varies fastest. Does that help?

View solution in original post

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