119 | | iii. Call GetFluxes -- This SR sets up the local Riemann Problem (LRP) and solves it exactly to get rho(x/t), u(x/t), P(x/t) at x/t = 0 (see above explanation of sampling routine). This is the most complicated structure of the program. A schematic of the loop is as follows: |
120 | | |
121 | | [[Image(LoopSR.png, 35%)]] |
122 | | |
123 | | i.i. Call Update -- updates cells using computed flux |
124 | | ii.i. Call Output -- output new values of cells |
125 | | iii.i. Begin loop again for n+1 step. |
| 119 | iii. Call GetFluxes -- This SR sets up the local Riemann Problem (LRP) and solves it exactly to get rho(x/t), u(x/t), P(x/t) at x/t = 0 (see above explanation of sampling routine). This is the most complicated structure of the program. A schematic of the loop is as follows: [[Image(LoopSR.png, 35%)]] |
| 120 | iv. Call Update -- updates cells using computed flux |
| 121 | v. Call Output -- output new values of cells |
| 122 | vi. Begin loop again for n+1 step. |