Repository navigation
Commit 7f47e7f
committed
Count each equation once in the solver residual average
The full equation loop already includes composition. Remove the obsolete
composition pass so each included residual contributes once to the mean.
Maximum residuals, equation weights and the Newton system are unchanged.
The older structural loop and separate composition loop were disjoint in
r1396. Duplicate counting is present by r3731 and predates public Git
history, so no introducing PR has been verified.
The extracted sizequ passed 57 numerical checks covering weighted means,
ignored equations, maximum residuals and nonfinite inputs.1 parent 478cf4c commit 7f47e7f
1 file changed
Lines changed: 3 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
209 | 208 | | |
210 | 209 | | |
211 | 210 | | |
| |||
217 | 216 | | |
218 | 217 | | |
219 | 218 | | |
| 219 | + | |
| 220 | + | |
220 | 221 | | |
221 | 222 | | |
222 | 223 | | |
| |||
270 | 271 | | |
271 | 272 | | |
272 | 273 | | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | 274 | | |
289 | 275 | | |
290 | 276 | | |
| |||
0 commit comments