Civil Engineering Reference
In-Depth Information
56
61
57
58
59
60
62
63
65
64
66
68
71
72
70
73
67
69
74
Element
65
76
77
75
83
84
78
81
80
82
79
Element
73
88
86
85
87
95
91
89
94
90
99
92
93
97
96
106
98
105
103
101
102
100
104
Figure 1.2 Portion of a finite element mesh with node and element numbers
In this example local and g would be 8-long vectors, whereas global could have
a length of thousands or millions.
1.9.5 Array sections
Parts of arrays or “subarrays” can be referenced by giving an integer range for one or
more of their subscripts. If the range is missing for any subscript, the whole extent of
that dimension is implied. Thus if a and b are two-dimensional arrays, a(:,1:3) and
b(11:13,:) refer to all the terms in the first three columns of a, and all the terms in
rows 11 through 13 of b respectively. If array sections “conform”, that is, have the right
number of rows and columns, they can be manipulated just like “whole” arrays.
1.9.6 Whole-array manipulations
It is worth emphasising that the array-computation features in Fortran 95 remove the need
for several subroutines which were essential in FORTRAN 77 and used in earlier editions
Search WWH ::




Custom Search