1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
|
// Werte werden auf (in1 + \sum_i faki * ini') gesetzt
procedure tWertePunkt.liKo(in1,in2
{$IFDEF lkA3},in3
{$IFDEF lkA4},in4
{$IFDEF lkA5},in5
{$IFDEF lkA6},in6
{$IFDEF lkA7},in7
{$IFDEF lkA8},in8
{$IFDEF lkA9},in9
{$IFDEF lkA10},in10
{$IFDEF lkA11},in11
{$IFDEF lkA12},in12
{$IFDEF lkA14},in13,in14
{$IFDEF lkA15},in15
{$IFDEF lkA16},in16
{$IFDEF lkA17},in17
{$IFDEF lkA18},in18
{$IFDEF lkA19},in19
{$IFDEF lkA22},in20,in21,in22
{$IFDEF lkA23},in23
{$IFDEF lkA31},in24,in25,in26,in27,in28,in29,in30,in31
{$IFDEF lkA32},in32
{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}: tWertePunkt;
fak2
{$IFDEF lkA3},fak3
{$IFDEF lkA4},fak4
{$IFDEF lkA5},fak5
{$IFDEF lkA6},fak6
{$IFDEF lkA7},fak7
{$IFDEF lkA8},fak8
{$IFDEF lkA9},fak9
{$IFDEF lkA10},fak10
{$IFDEF lkA11},fak11
{$IFDEF lkA12},fak12
{$IFDEF lkA14},fak13,fak14
{$IFDEF lkA15},fak15
{$IFDEF lkA16},fak16
{$IFDEF lkA17},fak17
{$IFDEF lkA18},fak18
{$IFDEF lkA19},fak19
{$IFDEF lkA22},fak20,fak21,fak22
{$IFDEF lkA23},fak23
{$IFDEF lkA31},fak24,fak25,fak26,fak27,fak28,fak29,fak30,fak31
{$IFDEF lkA32},fak32
{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}: extended);
var
emF: tEMFeldInhalt;
maF: tMaterieFeldInhalt;
i: longint;
begin
(* tEMFeldInhalt = (
efA,efAX,efAY,efAZ,
efDAXDT,efDAYDT,efDAZDT,
efDPhiDX
); *)
for emF:=efAX to efDPhiDX do // alles außer efA, welchen Ableitung ja nicht berechnet wurde
emWerte[emF,false]:=
in1.emWerte[emF,false]
+ fak2 * in2.emWerte[emF,true] {$IFDEF lkA3}
+ fak3 * in3.emWerte[emF,true] {$IFDEF lkA4}
+ fak4 * in4.emWerte[emF,true] {$IFDEF lkA5}
+ fak5 * in5.emWerte[emF,true] {$IFDEF lkA6}
+ fak6 * in6.emWerte[emF,true] {$IFDEF lkA7}
+ fak7 * in7.emWerte[emF,true] {$IFDEF lkA8}
+ fak8 * in8.emWerte[emF,true] {$IFDEF lkA9}
+ fak9 * in9.emWerte[emF,true] {$IFDEF lkA10}
+ fak10 * in10.emWerte[emF,true] {$IFDEF lkA11}
+ fak11 * in11.emWerte[emF,true] {$IFDEF lkA12}
+ fak12 * in12.emWerte[emF,true] {$IFDEF lkA14}
+ fak13 * in13.emWerte[emF,true]
+ fak14 * in14.emWerte[emF,true] {$IFDEF lkA15}
+ fak15 * in15.emWerte[emF,true] {$IFDEF lkA16}
+ fak16 * in16.emWerte[emF,true] {$IFDEF lkA17}
+ fak17 * in17.emWerte[emF,true] {$IFDEF lkA18}
+ fak18 * in18.emWerte[emF,true] {$IFDEF lkA19}
+ fak19 * in19.emWerte[emF,true] {$IFDEF lkA22}
+ fak20 * in20.emWerte[emF,true]
+ fak21 * in21.emWerte[emF,true]
+ fak22 * in22.emWerte[emF,true] {$IFDEF lkA23}
+ fak23 * in23.emWerte[emF,true] {$IFDEF lkA31}
+ fak24 * in24.emWerte[emF,true]
+ fak25 * in25.emWerte[emF,true]
+ fak26 * in26.emWerte[emF,true]
+ fak27 * in27.emWerte[emF,true]
+ fak28 * in28.emWerte[emF,true]
+ fak29 * in29.emWerte[emF,true]
+ fak30 * in30.emWerte[emF,true]
+ fak31 * in31.emWerte[emF,true] {$IFDEF lkA32}
+ fak32 * in32.emWerte[emF,true]
{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF};
(* tMaterieFeldInhalt = (
mfN,mfDPsiDX,
mfP,mfPX,mfPY,mfPZ,
mfGamma,mfIGamma
); *)
for i:=0 to length(matWerte)-1 do // siehe oben
for maF:=mfN to mfDPsiDX do
matWerte[i,maF,false]:=
in1.matWerte[i,maF,false]
+ fak2 * in2.matWerte[i,maF,true] {$IFDEF lkA3}
+ fak3 * in3.matWerte[i,maF,true] {$IFDEF lkA4}
+ fak4 * in4.matWerte[i,maF,true] {$IFDEF lkA5}
+ fak5 * in5.matWerte[i,maF,true] {$IFDEF lkA6}
+ fak6 * in6.matWerte[i,maF,true] {$IFDEF lkA7}
+ fak7 * in7.matWerte[i,maF,true] {$IFDEF lkA8}
+ fak8 * in8.matWerte[i,maF,true] {$IFDEF lkA9}
+ fak9 * in9.matWerte[i,maF,true] {$IFDEF lkA10}
+ fak10 * in10.matWerte[i,maF,true] {$IFDEF lkA11}
+ fak11 * in11.matWerte[i,maF,true] {$IFDEF lkA12}
+ fak12 * in12.matWerte[i,maF,true] {$IFDEF lkA14}
+ fak13 * in13.matWerte[i,maF,true]
+ fak14 * in14.matWerte[i,maF,true] {$IFDEF lkA15}
+ fak15 * in15.matWerte[i,maF,true] {$IFDEF lkA16}
+ fak16 * in16.matWerte[i,maF,true] {$IFDEF lkA17}
+ fak17 * in17.matWerte[i,maF,true] {$IFDEF lkA18}
+ fak18 * in18.matWerte[i,maF,true] {$IFDEF lkA19}
+ fak19 * in19.matWerte[i,maF,true] {$IFDEF lkA22}
+ fak20 * in20.matWerte[i,maF,true]
+ fak21 * in21.matWerte[i,maF,true]
+ fak22 * in22.matWerte[i,maF,true] {$IFDEF lkA23}
+ fak23 * in23.matWerte[i,maF,true] {$IFDEF lkA31}
+ fak24 * in24.matWerte[i,maF,true]
+ fak25 * in25.matWerte[i,maF,true]
+ fak26 * in26.matWerte[i,maF,true]
+ fak27 * in27.matWerte[i,maF,true]
+ fak28 * in28.matWerte[i,maF,true]
+ fak29 * in29.matWerte[i,maF,true]
+ fak30 * in30.matWerte[i,maF,true]
+ fak31 * in31.matWerte[i,maF,true] {$IFDEF lkA32}
+ fak32 * in32.matWerte[i,maF,true]
{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF};
end;
// Werte werden auf (in1 + \sum_i faki * ini') gesetzt
procedure tFelder.liKo(in1,in2
{$IFDEF lkA3},in3
{$IFDEF lkA4},in4
{$IFDEF lkA5},in5
{$IFDEF lkA6},in6
{$IFDEF lkA7},in7
{$IFDEF lkA8},in8
{$IFDEF lkA9},in9
{$IFDEF lkA10},in10
{$IFDEF lkA11},in11
{$IFDEF lkA12},in12
{$IFDEF lkA14},in13,in14
{$IFDEF lkA15},in15
{$IFDEF lkA16},in16
{$IFDEF lkA17},in17
{$IFDEF lkA18},in18
{$IFDEF lkA19},in19
{$IFDEF lkA22},in20,in21,in22
{$IFDEF lkA23},in23
{$IFDEF lkA31},in24,in25,in26,in27,in28,in29,in30,in31
{$IFDEF lkA32},in32
{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}: tFelder;
fak2
{$IFDEF lkA3},fak3
{$IFDEF lkA4},fak4
{$IFDEF lkA5},fak5
{$IFDEF lkA6},fak6
{$IFDEF lkA7},fak7
{$IFDEF lkA8},fak8
{$IFDEF lkA9},fak9
{$IFDEF lkA10},fak10
{$IFDEF lkA11},fak11
{$IFDEF lkA12},fak12
{$IFDEF lkA14},fak13,fak14
{$IFDEF lkA15},fak15
{$IFDEF lkA16},fak16
{$IFDEF lkA17},fak17
{$IFDEF lkA18},fak18
{$IFDEF lkA19},fak19
{$IFDEF lkA22},fak20,fak21,fak22
{$IFDEF lkA23},fak23
{$IFDEF lkA31},fak24,fak25,fak26,fak27,fak28,fak29,fak30,fak31
{$IFDEF lkA32},fak32
{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}: extended);
var
i: longint;
begin
for i:=0 to length(inhalt)-1 do
inhalt[i].liKo(
in1.inhalt[i],in2.inhalt[i]
{$IFDEF lkA3},in3.inhalt[i]
{$IFDEF lkA4},in4.inhalt[i]
{$IFDEF lkA5},in5.inhalt[i]
{$IFDEF lkA6},in6.inhalt[i]
{$IFDEF lkA7},in7.inhalt[i]
{$IFDEF lkA8},in8.inhalt[i]
{$IFDEF lkA9},in9.inhalt[i]
{$IFDEF lkA10},in10.inhalt[i]
{$IFDEF lkA11},in11.inhalt[i]
{$IFDEF lkA12},in12.inhalt[i]
{$IFDEF lkA14},in13.inhalt[i],in14.inhalt[i]
{$IFDEF lkA15},in15.inhalt[i]
{$IFDEF lkA16},in16.inhalt[i]
{$IFDEF lkA17},in17.inhalt[i]
{$IFDEF lkA18},in18.inhalt[i]
{$IFDEF lkA19},in19.inhalt[i]
{$IFDEF lkA22},in20.inhalt[i],in21.inhalt[i],in22.inhalt[i]
{$IFDEF lkA23},in23.inhalt[i]
{$IFDEF lkA31},in24.inhalt[i],in25.inhalt[i],in26.inhalt[i],in27.inhalt[i],in28.inhalt[i],in29.inhalt[i],in30.inhalt[i],in31.inhalt[i]
{$IFDEF lkA32},in32.inhalt[i]
{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF},
fak2
{$IFDEF lkA3},fak3
{$IFDEF lkA4},fak4
{$IFDEF lkA5},fak5
{$IFDEF lkA6},fak6
{$IFDEF lkA7},fak7
{$IFDEF lkA8},fak8
{$IFDEF lkA9},fak9
{$IFDEF lkA10},fak10
{$IFDEF lkA11},fak11
{$IFDEF lkA12},fak12
{$IFDEF lkA14},fak13,fak14
{$IFDEF lkA15},fak15
{$IFDEF lkA16},fak16
{$IFDEF lkA17},fak17
{$IFDEF lkA18},fak18
{$IFDEF lkA19},fak19
{$IFDEF lkA22},fak20,fak21,fak22
{$IFDEF lkA23},fak23
{$IFDEF lkA31},fak24,fak25,fak26,fak27,fak28,fak29,fak30,fak31
{$IFDEF lkA32},fak32
{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF}{$ENDIF});
end;
|