Commit afac94a
committed
Correct bug in Nsqr_iface averaging
Two updates:
1) Change in default behavior: now the unresolved shear computation finds N
at the cell center by averaging N at interface above and interface below;
previously, the default was to use the value from the deeper interface.
2) Whether you pass N or N^2, averaging is done on N; previously if you passed
N^2, CVMix computed sqrt(avg(N^2[above],N^2[below])) and now it computes
avg(sqrt(N^2[above]),sqrt(N^2[below]))1 parent ac9c75b commit afac94a
File tree
1 file changed
+3
-4
lines changed1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
456 | 456 | | |
457 | 457 | | |
458 | 458 | | |
459 | | - | |
| 459 | + | |
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
| |||
2136 | 2136 | | |
2137 | 2137 | | |
2138 | 2138 | | |
2139 | | - | |
2140 | | - | |
2141 | | - | |
| 2139 | + | |
| 2140 | + | |
2142 | 2141 | | |
2143 | 2142 | | |
2144 | 2143 | | |
| |||
0 commit comments